* [PATCH 01/13] drm/xe/guc: Update POLICY_SCHED_IF_IDLE documentation
2026-03-30 20:40 [PATCH 00/13] drm/xe/pf: Improve EQ/PT provisioning Michal Wajdeczko
@ 2026-03-30 20:40 ` Michal Wajdeczko
2026-04-02 7:54 ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 02/13] drm/xe/pf: Fix pf_get_sched_priority() function signature Michal Wajdeczko
` (14 subsequent siblings)
15 siblings, 1 reply; 32+ messages in thread
From: Michal Wajdeczko @ 2026-03-30 20:40 UTC (permalink / raw)
To: intel-xe; +Cc: Michal Wajdeczko
Starting from the GuC firmware version 70.12.0 the meaning of the
POLICY_SCHED_IF_IDLE has changed, which now acts as a bulk update
of the VF_CFG_SCHED_PRIORITY configurations of all VFs.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
drivers/gpu/drm/xe/abi/guc_klvs_abi.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/xe/abi/guc_klvs_abi.h b/drivers/gpu/drm/xe/abi/guc_klvs_abi.h
index e33bd622ab44..7106fad7beef 100644
--- a/drivers/gpu/drm/xe/abi/guc_klvs_abi.h
+++ b/drivers/gpu/drm/xe/abi/guc_klvs_abi.h
@@ -192,6 +192,13 @@ enum {
* `GuC KLV`_ keys available for use with PF2GUC_UPDATE_VGT_POLICY.
*
* _`GUC_KLV_VGT_POLICY_SCHED_IF_IDLE` : 0x8001
+ * [From 70.12.0]
+ * This config allows to update scheduling priority of PF and all VFs at once.
+ * Setting this policy to 0 updates all VFs scheduling priorities to LOW, and
+ * setting this policy to 1 updates all VFs scheduling priorities to NORMAL.
+ * Those changes will take effect on the next VF-Switch event.
+ *
+ * [Before 70.12.0]
* This config sets whether strict scheduling is enabled whereby any VF
* that doesn’t have work to submit is still allocated a fixed execution
* time-slice to ensure active VFs execution is always consistent even
--
2.47.1
^ permalink raw reply related [flat|nested] 32+ messages in thread* Re: [PATCH 01/13] drm/xe/guc: Update POLICY_SCHED_IF_IDLE documentation
2026-03-30 20:40 ` [PATCH 01/13] drm/xe/guc: Update POLICY_SCHED_IF_IDLE documentation Michal Wajdeczko
@ 2026-04-02 7:54 ` Piotr Piórkowski
0 siblings, 0 replies; 32+ messages in thread
From: Piotr Piórkowski @ 2026-04-02 7:54 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
Michal Wajdeczko <michal.wajdeczko@intel.com> wrote on pon [2026-mar-30 22:40:32 +0200]:
> Starting from the GuC firmware version 70.12.0 the meaning of the
> POLICY_SCHED_IF_IDLE has changed, which now acts as a bulk update
> of the VF_CFG_SCHED_PRIORITY configurations of all VFs.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
> ---
> drivers/gpu/drm/xe/abi/guc_klvs_abi.h | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/drivers/gpu/drm/xe/abi/guc_klvs_abi.h b/drivers/gpu/drm/xe/abi/guc_klvs_abi.h
> index e33bd622ab44..7106fad7beef 100644
> --- a/drivers/gpu/drm/xe/abi/guc_klvs_abi.h
> +++ b/drivers/gpu/drm/xe/abi/guc_klvs_abi.h
> @@ -192,6 +192,13 @@ enum {
> * `GuC KLV`_ keys available for use with PF2GUC_UPDATE_VGT_POLICY.
> *
> * _`GUC_KLV_VGT_POLICY_SCHED_IF_IDLE` : 0x8001
> + * [From 70.12.0]
> + * This config allows to update scheduling priority of PF and all VFs at once.
> + * Setting this policy to 0 updates all VFs scheduling priorities to LOW, and
> + * setting this policy to 1 updates all VFs scheduling priorities to NORMAL.
> + * Those changes will take effect on the next VF-Switch event.
> + *
> + * [Before 70.12.0]
> * This config sets whether strict scheduling is enabled whereby any VF
> * that doesn’t have work to submit is still allocated a fixed execution
> * time-slice to ensure active VFs execution is always consistent even
> --
> 2.47.1
>
--
^ permalink raw reply [flat|nested] 32+ messages in thread
* [PATCH 02/13] drm/xe/pf: Fix pf_get_sched_priority() function signature
2026-03-30 20:40 [PATCH 00/13] drm/xe/pf: Improve EQ/PT provisioning Michal Wajdeczko
2026-03-30 20:40 ` [PATCH 01/13] drm/xe/guc: Update POLICY_SCHED_IF_IDLE documentation Michal Wajdeczko
@ 2026-03-30 20:40 ` Michal Wajdeczko
2026-04-02 7:55 ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 03/13] drm/xe/pf: Force new VFs prorities only once Michal Wajdeczko
` (13 subsequent siblings)
15 siblings, 1 reply; 32+ messages in thread
From: Michal Wajdeczko @ 2026-03-30 20:40 UTC (permalink / raw)
To: intel-xe; +Cc: Michal Wajdeczko
The pf_get_sched_priority() function returns scheduling priority
that we defined as u32 so while it works we shouldn't return int.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
index 2f376b5fb088..658e9b048751 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
@@ -2500,7 +2500,7 @@ static int pf_provision_sched_priority(struct xe_gt *gt, unsigned int vfid, u32
return 0;
}
-static int pf_get_sched_priority(struct xe_gt *gt, unsigned int vfid)
+static u32 pf_get_sched_priority(struct xe_gt *gt, unsigned int vfid)
{
struct xe_gt_sriov_config *config = pf_pick_vf_config(gt, vfid);
--
2.47.1
^ permalink raw reply related [flat|nested] 32+ messages in thread* Re: [PATCH 02/13] drm/xe/pf: Fix pf_get_sched_priority() function signature
2026-03-30 20:40 ` [PATCH 02/13] drm/xe/pf: Fix pf_get_sched_priority() function signature Michal Wajdeczko
@ 2026-04-02 7:55 ` Piotr Piórkowski
0 siblings, 0 replies; 32+ messages in thread
From: Piotr Piórkowski @ 2026-04-02 7:55 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
Michal Wajdeczko <michal.wajdeczko@intel.com> wrote on pon [2026-mar-30 22:40:33 +0200]:
> The pf_get_sched_priority() function returns scheduling priority
> that we defined as u32 so while it works we shouldn't return int.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
> ---
> drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> index 2f376b5fb088..658e9b048751 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> @@ -2500,7 +2500,7 @@ static int pf_provision_sched_priority(struct xe_gt *gt, unsigned int vfid, u32
> return 0;
> }
>
> -static int pf_get_sched_priority(struct xe_gt *gt, unsigned int vfid)
> +static u32 pf_get_sched_priority(struct xe_gt *gt, unsigned int vfid)
> {
> struct xe_gt_sriov_config *config = pf_pick_vf_config(gt, vfid);
>
> --
> 2.47.1
>
--
^ permalink raw reply [flat|nested] 32+ messages in thread
* [PATCH 03/13] drm/xe/pf: Force new VFs prorities only once
2026-03-30 20:40 [PATCH 00/13] drm/xe/pf: Improve EQ/PT provisioning Michal Wajdeczko
2026-03-30 20:40 ` [PATCH 01/13] drm/xe/guc: Update POLICY_SCHED_IF_IDLE documentation Michal Wajdeczko
2026-03-30 20:40 ` [PATCH 02/13] drm/xe/pf: Fix pf_get_sched_priority() function signature Michal Wajdeczko
@ 2026-03-30 20:40 ` Michal Wajdeczko
2026-04-02 10:22 ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 04/13] drm/xe/pf: Print applied policy KLVs Michal Wajdeczko
` (12 subsequent siblings)
15 siblings, 1 reply; 32+ messages in thread
From: Michal Wajdeczko @ 2026-03-30 20:40 UTC (permalink / raw)
To: intel-xe; +Cc: Michal Wajdeczko
We should force change of VFs scheduling priorities only after
initial change of the SCHED_IF_IDLE policy. Doing that also during
any later policy reprovisioning will overwrite changes done on the
individual per-VF scheduling priorities (currently only for PF).
While around also move priority change code to the _config component
to maintain a proper isolation. Also document our expectation about
the GuC version where the new meaning of the policy KLV is present.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 28 ++++++++++++++
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h | 1 +
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 44 ++++++++++------------
3 files changed, 48 insertions(+), 25 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
index 658e9b048751..e1c028176eb8 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
@@ -2550,6 +2550,34 @@ u32 xe_gt_sriov_pf_config_get_sched_priority(struct xe_gt *gt, unsigned int vfid
return priority;
}
+/**
+ * xe_gt_sriov_pf_config_force_sched_priority_locked() - Force update scheduling priority.
+ * @gt: the &xe_gt
+ * @priority: new scheduling priority to set
+ *
+ * This function allows to update cached values of the scheduling priorities of all
+ * VFs (and PF) as result of applying the `GUC_KLV_VGT_POLICY_SCHED_IF_IDLE`_ policy.
+ *
+ * This function can only be called on PF.
+ */
+void xe_gt_sriov_pf_config_force_sched_priority_locked(struct xe_gt *gt, u32 priority)
+{
+ unsigned int total_vfs = 1 + xe_gt_sriov_pf_get_totalvfs(gt);
+ struct xe_gt_sriov_config *config;
+ unsigned int n;
+
+ xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
+
+ for (n = 0; n < total_vfs; n++) {
+ config = pf_pick_vf_config(gt, VFID(n));
+ config->sched_priority = priority;
+ }
+
+ pf_config_bulk_set_u32_done(gt, PFID, 1 + total_vfs, priority,
+ pf_get_sched_priority, "scheduling priority",
+ sched_priority_unit, n, 0);
+}
+
static void pf_reset_config_sched(struct xe_gt *gt, struct xe_gt_sriov_config *config)
{
int i;
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h
index 4a004ecd6140..e9314f0a9b4e 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h
@@ -71,6 +71,7 @@ int xe_gt_sriov_pf_config_set_groups_preempt_timeouts(struct xe_gt *gt, unsigned
u32 xe_gt_sriov_pf_config_get_sched_priority(struct xe_gt *gt, unsigned int vfid);
int xe_gt_sriov_pf_config_set_sched_priority(struct xe_gt *gt, unsigned int vfid, u32 priority);
+void xe_gt_sriov_pf_config_force_sched_priority_locked(struct xe_gt *gt, u32 priority);
u32 xe_gt_sriov_pf_config_get_threshold(struct xe_gt *gt, unsigned int vfid,
enum xe_guc_klv_threshold_index index);
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
index 848e24926ecd..6ab02e96e46c 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
@@ -8,6 +8,7 @@
#include "abi/guc_actions_sriov_abi.h"
#include "xe_gt.h"
+#include "xe_gt_sriov_pf_config.h"
#include "xe_gt_sriov_pf_helpers.h"
#include "xe_gt_sriov_pf_policy.h"
#include "xe_gt_sriov_printk.h"
@@ -153,33 +154,14 @@ static int pf_update_policy_u32(struct xe_gt *gt, u16 key, u32 *policy, u32 valu
return 0;
}
-static void pf_bulk_reset_sched_priority(struct xe_gt *gt, u32 priority)
-{
- unsigned int total_vfs = 1 + xe_gt_sriov_pf_get_totalvfs(gt);
- unsigned int n;
-
- xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
- lockdep_assert_held(xe_gt_sriov_pf_master_mutex(gt));
-
- for (n = 0; n < total_vfs; n++)
- gt->sriov.pf.vfs[n].config.sched_priority = priority;
-}
-
static int pf_provision_sched_if_idle(struct xe_gt *gt, bool enable)
{
- int err;
-
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
lockdep_assert_held(xe_gt_sriov_pf_master_mutex(gt));
- err = pf_update_policy_bool(gt, GUC_KLV_VGT_POLICY_SCHED_IF_IDLE_KEY,
- >->sriov.pf.policy.guc.sched_if_idle,
- enable);
-
- if (!err)
- pf_bulk_reset_sched_priority(gt, enable ? GUC_SCHED_PRIORITY_NORMAL :
- GUC_SCHED_PRIORITY_LOW);
- return err;
+ return pf_update_policy_bool(gt, GUC_KLV_VGT_POLICY_SCHED_IF_IDLE_KEY,
+ >->sriov.pf.policy.guc.sched_if_idle,
+ enable);
}
static int pf_reprovision_sched_if_idle(struct xe_gt *gt)
@@ -209,13 +191,25 @@ static void pf_sanitize_sched_if_idle(struct xe_gt *gt)
*/
int xe_gt_sriov_pf_policy_set_sched_if_idle(struct xe_gt *gt, bool enable)
{
+ u32 priority;
int err;
- mutex_lock(xe_gt_sriov_pf_master_mutex(gt));
+ guard(mutex)(xe_gt_sriov_pf_master_mutex(gt));
+
err = pf_provision_sched_if_idle(gt, enable);
- mutex_unlock(xe_gt_sriov_pf_master_mutex(gt));
+ if (err)
+ return err;
- return err;
+ /*
+ * As of GuC 70.12 a change of this policy impacts individual configs
+ * of all VFs. See `GUC_KLV_VGT_POLICY_SCHED_IF_IDLE`_ for details.
+ */
+ xe_gt_assert(gt, GUC_FIRMWARE_VER_AT_LEAST(>->uc.guc, 70, 12));
+
+ priority = enable ? GUC_SCHED_PRIORITY_NORMAL : GUC_SCHED_PRIORITY_LOW;
+ xe_gt_sriov_pf_config_force_sched_priority_locked(gt, priority);
+
+ return 0;
}
/**
--
2.47.1
^ permalink raw reply related [flat|nested] 32+ messages in thread* Re: [PATCH 03/13] drm/xe/pf: Force new VFs prorities only once
2026-03-30 20:40 ` [PATCH 03/13] drm/xe/pf: Force new VFs prorities only once Michal Wajdeczko
@ 2026-04-02 10:22 ` Piotr Piórkowski
2026-04-02 16:13 ` Michal Wajdeczko
0 siblings, 1 reply; 32+ messages in thread
From: Piotr Piórkowski @ 2026-04-02 10:22 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
Michal Wajdeczko <michal.wajdeczko@intel.com> wrote on pon [2026-mar-30 22:40:34 +0200]:
> We should force change of VFs scheduling priorities only after
> initial change of the SCHED_IF_IDLE policy. Doing that also during
> any later policy reprovisioning will overwrite changes done on the
> individual per-VF scheduling priorities (currently only for PF).
>
> While around also move priority change code to the _config component
> to maintain a proper isolation. Also document our expectation about
> the GuC version where the new meaning of the policy KLV is present.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> ---
> drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 28 ++++++++++++++
> drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h | 1 +
> drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 44 ++++++++++------------
> 3 files changed, 48 insertions(+), 25 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> index 658e9b048751..e1c028176eb8 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> @@ -2550,6 +2550,34 @@ u32 xe_gt_sriov_pf_config_get_sched_priority(struct xe_gt *gt, unsigned int vfid
> return priority;
> }
>
> +/**
> + * xe_gt_sriov_pf_config_force_sched_priority_locked() - Force update scheduling priority.
> + * @gt: the &xe_gt
> + * @priority: new scheduling priority to set
> + *
> + * This function allows to update cached values of the scheduling priorities of all
> + * VFs (and PF) as result of applying the `GUC_KLV_VGT_POLICY_SCHED_IF_IDLE`_ policy.
> + *
> + * This function can only be called on PF.
> + */
> +void xe_gt_sriov_pf_config_force_sched_priority_locked(struct xe_gt *gt, u32 priority)
> +{
> + unsigned int total_vfs = 1 + xe_gt_sriov_pf_get_totalvfs(gt);
> + struct xe_gt_sriov_config *config;
> + unsigned int n;
> +
> + xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
I will add:
lockdep_assert_held(xe_gt_sriov_pf_master_mutex(gt));
> +
> + for (n = 0; n < total_vfs; n++) {
> + config = pf_pick_vf_config(gt, VFID(n));
> + config->sched_priority = priority;
> + }
> +
> + pf_config_bulk_set_u32_done(gt, PFID, 1 + total_vfs, priority,
> + pf_get_sched_priority, "scheduling priority",
> + sched_priority_unit, n, 0);
> +}
> +
> static void pf_reset_config_sched(struct xe_gt *gt, struct xe_gt_sriov_config *config)
> {
> int i;
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h
> index 4a004ecd6140..e9314f0a9b4e 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h
> @@ -71,6 +71,7 @@ int xe_gt_sriov_pf_config_set_groups_preempt_timeouts(struct xe_gt *gt, unsigned
>
> u32 xe_gt_sriov_pf_config_get_sched_priority(struct xe_gt *gt, unsigned int vfid);
> int xe_gt_sriov_pf_config_set_sched_priority(struct xe_gt *gt, unsigned int vfid, u32 priority);
> +void xe_gt_sriov_pf_config_force_sched_priority_locked(struct xe_gt *gt, u32 priority);
>
> u32 xe_gt_sriov_pf_config_get_threshold(struct xe_gt *gt, unsigned int vfid,
> enum xe_guc_klv_threshold_index index);
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
> index 848e24926ecd..6ab02e96e46c 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
> @@ -8,6 +8,7 @@
> #include "abi/guc_actions_sriov_abi.h"
>
> #include "xe_gt.h"
> +#include "xe_gt_sriov_pf_config.h"
> #include "xe_gt_sriov_pf_helpers.h"
> #include "xe_gt_sriov_pf_policy.h"
> #include "xe_gt_sriov_printk.h"
> @@ -153,33 +154,14 @@ static int pf_update_policy_u32(struct xe_gt *gt, u16 key, u32 *policy, u32 valu
> return 0;
> }
>
> -static void pf_bulk_reset_sched_priority(struct xe_gt *gt, u32 priority)
> -{
> - unsigned int total_vfs = 1 + xe_gt_sriov_pf_get_totalvfs(gt);
> - unsigned int n;
> -
> - xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
> - lockdep_assert_held(xe_gt_sriov_pf_master_mutex(gt));
> -
> - for (n = 0; n < total_vfs; n++)
> - gt->sriov.pf.vfs[n].config.sched_priority = priority;
> -}
> -
> static int pf_provision_sched_if_idle(struct xe_gt *gt, bool enable)
> {
> - int err;
> -
> xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
> lockdep_assert_held(xe_gt_sriov_pf_master_mutex(gt));
>
> - err = pf_update_policy_bool(gt, GUC_KLV_VGT_POLICY_SCHED_IF_IDLE_KEY,
> - >->sriov.pf.policy.guc.sched_if_idle,
> - enable);
> -
> - if (!err)
> - pf_bulk_reset_sched_priority(gt, enable ? GUC_SCHED_PRIORITY_NORMAL :
> - GUC_SCHED_PRIORITY_LOW);
> - return err;
> + return pf_update_policy_bool(gt, GUC_KLV_VGT_POLICY_SCHED_IF_IDLE_KEY,
> + >->sriov.pf.policy.guc.sched_if_idle,
> + enable);
> }
>
> static int pf_reprovision_sched_if_idle(struct xe_gt *gt)
> @@ -209,13 +191,25 @@ static void pf_sanitize_sched_if_idle(struct xe_gt *gt)
> */
> int xe_gt_sriov_pf_policy_set_sched_if_idle(struct xe_gt *gt, bool enable)
> {
> + u32 priority;
> int err;
>
> - mutex_lock(xe_gt_sriov_pf_master_mutex(gt));
> + guard(mutex)(xe_gt_sriov_pf_master_mutex(gt));
> +
> err = pf_provision_sched_if_idle(gt, enable);
> - mutex_unlock(xe_gt_sriov_pf_master_mutex(gt));
> + if (err)
> + return err;
>
> - return err;
> + /*
> + * As of GuC 70.12 a change of this policy impacts individual configs
> + * of all VFs. See `GUC_KLV_VGT_POLICY_SCHED_IF_IDLE`_ for details.
> + */
> + xe_gt_assert(gt, GUC_FIRMWARE_VER_AT_LEAST(>->uc.guc, 70, 12));
> +
> + priority = enable ? GUC_SCHED_PRIORITY_NORMAL : GUC_SCHED_PRIORITY_LOW;
> + xe_gt_sriov_pf_config_force_sched_priority_locked(gt, priority);
> +
> + return 0;
> }
>
LGTM:
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
> /**
> --
> 2.47.1
>
--
^ permalink raw reply [flat|nested] 32+ messages in thread* Re: [PATCH 03/13] drm/xe/pf: Force new VFs prorities only once
2026-04-02 10:22 ` Piotr Piórkowski
@ 2026-04-02 16:13 ` Michal Wajdeczko
0 siblings, 0 replies; 32+ messages in thread
From: Michal Wajdeczko @ 2026-04-02 16:13 UTC (permalink / raw)
To: Piotr Piórkowski; +Cc: intel-xe
On 4/2/2026 12:22 PM, Piotr Piórkowski wrote:
> Michal Wajdeczko <michal.wajdeczko@intel.com> wrote on pon [2026-mar-30 22:40:34 +0200]:
>> We should force change of VFs scheduling priorities only after
>> initial change of the SCHED_IF_IDLE policy. Doing that also during
>> any later policy reprovisioning will overwrite changes done on the
>> individual per-VF scheduling priorities (currently only for PF).
>>
>> While around also move priority change code to the _config component
>> to maintain a proper isolation. Also document our expectation about
>> the GuC version where the new meaning of the policy KLV is present.
>>
>> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
>> ---
>> drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 28 ++++++++++++++
>> drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h | 1 +
>> drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 44 ++++++++++------------
>> 3 files changed, 48 insertions(+), 25 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
>> index 658e9b048751..e1c028176eb8 100644
>> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
>> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
>> @@ -2550,6 +2550,34 @@ u32 xe_gt_sriov_pf_config_get_sched_priority(struct xe_gt *gt, unsigned int vfid
>> return priority;
>> }
>>
>> +/**
>> + * xe_gt_sriov_pf_config_force_sched_priority_locked() - Force update scheduling priority.
>> + * @gt: the &xe_gt
>> + * @priority: new scheduling priority to set
>> + *
>> + * This function allows to update cached values of the scheduling priorities of all
>> + * VFs (and PF) as result of applying the `GUC_KLV_VGT_POLICY_SCHED_IF_IDLE`_ policy.
>> + *
>> + * This function can only be called on PF.
>> + */
>> +void xe_gt_sriov_pf_config_force_sched_priority_locked(struct xe_gt *gt, u32 priority)
>> +{
>> + unsigned int total_vfs = 1 + xe_gt_sriov_pf_get_totalvfs(gt);
>> + struct xe_gt_sriov_config *config;
>> + unsigned int n;
>> +
>> + xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
> I will add:
> lockdep_assert_held(xe_gt_sriov_pf_master_mutex(gt));
this is already part of the pf_pick_vf_config() called below
but yeah, I can add it here as kind of documenting function expectations
(will try to do it during merge)
>
>> +
>> + for (n = 0; n < total_vfs; n++) {
>> + config = pf_pick_vf_config(gt, VFID(n));
>> + config->sched_priority = priority;
>> + }
>> +
>> + pf_config_bulk_set_u32_done(gt, PFID, 1 + total_vfs, priority,
>> + pf_get_sched_priority, "scheduling priority",
>> + sched_priority_unit, n, 0);
>> +}
>> +
...
>>
>
> LGTM:
> Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Thanks!
>
>
>> /**
>> --
>> 2.47.1
>>
>
^ permalink raw reply [flat|nested] 32+ messages in thread
* [PATCH 04/13] drm/xe/pf: Print applied policy KLVs
2026-03-30 20:40 [PATCH 00/13] drm/xe/pf: Improve EQ/PT provisioning Michal Wajdeczko
` (2 preceding siblings ...)
2026-03-30 20:40 ` [PATCH 03/13] drm/xe/pf: Force new VFs prorities only once Michal Wajdeczko
@ 2026-03-30 20:40 ` Michal Wajdeczko
2026-04-02 10:56 ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 05/13] drm/xe/pf: Reprovision policy settings after GT reset Michal Wajdeczko
` (11 subsequent siblings)
15 siblings, 1 reply; 32+ messages in thread
From: Michal Wajdeczko @ 2026-03-30 20:40 UTC (permalink / raw)
To: intel-xe; +Cc: Michal Wajdeczko
Under CONFIG_DRM_XE_DEBUG_SRIOV print all policy KLVs sent to the
GuC for better diagnostics. This is similar what we are already
doing with VF configuration KLVs.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
index 6ab02e96e46c..c88c4e6a9b61 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
@@ -68,6 +68,15 @@ static int pf_push_policy_buf_klvs(struct xe_gt *gt, u32 num_klvs,
return err;
}
+ if (IS_ENABLED(CONFIG_DRM_XE_DEBUG_SRIOV)) {
+ struct drm_printer p = xe_gt_dbg_printer(gt);
+ void *klvs = xe_guc_buf_cpu_ptr(buf);
+
+ xe_gt_sriov_dbg(gt, "pushed policy update with %u KLV%s:\n",
+ num_klvs, str_plural(num_klvs));
+ xe_guc_klv_print(klvs, num_dwords, &p);
+ }
+
return 0;
}
--
2.47.1
^ permalink raw reply related [flat|nested] 32+ messages in thread* Re: [PATCH 04/13] drm/xe/pf: Print applied policy KLVs
2026-03-30 20:40 ` [PATCH 04/13] drm/xe/pf: Print applied policy KLVs Michal Wajdeczko
@ 2026-04-02 10:56 ` Piotr Piórkowski
0 siblings, 0 replies; 32+ messages in thread
From: Piotr Piórkowski @ 2026-04-02 10:56 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
Michal Wajdeczko <michal.wajdeczko@intel.com> wrote on pon [2026-mar-30 22:40:35 +0200]:
> Under CONFIG_DRM_XE_DEBUG_SRIOV print all policy KLVs sent to the
> GuC for better diagnostics. This is similar what we are already
> doing with VF configuration KLVs.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> ---
> drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
> index 6ab02e96e46c..c88c4e6a9b61 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
> @@ -68,6 +68,15 @@ static int pf_push_policy_buf_klvs(struct xe_gt *gt, u32 num_klvs,
> return err;
> }
>
> + if (IS_ENABLED(CONFIG_DRM_XE_DEBUG_SRIOV)) {
> + struct drm_printer p = xe_gt_dbg_printer(gt);
> + void *klvs = xe_guc_buf_cpu_ptr(buf);
> +
> + xe_gt_sriov_dbg(gt, "pushed policy update with %u KLV%s:\n",
> + num_klvs, str_plural(num_klvs));
> + xe_guc_klv_print(klvs, num_dwords, &p);
> + }
> +
> return 0;
LGTM:
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
> }
>
> --
> 2.47.1
>
--
^ permalink raw reply [flat|nested] 32+ messages in thread
* [PATCH 05/13] drm/xe/pf: Reprovision policy settings after GT reset
2026-03-30 20:40 [PATCH 00/13] drm/xe/pf: Improve EQ/PT provisioning Michal Wajdeczko
` (3 preceding siblings ...)
2026-03-30 20:40 ` [PATCH 04/13] drm/xe/pf: Print applied policy KLVs Michal Wajdeczko
@ 2026-03-30 20:40 ` Michal Wajdeczko
2026-04-02 11:23 ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 06/13] drm/xe/pf: Don't reprovision policies if already default Michal Wajdeczko
` (10 subsequent siblings)
15 siblings, 1 reply; 32+ messages in thread
From: Michal Wajdeczko @ 2026-03-30 20:40 UTC (permalink / raw)
To: intel-xe; +Cc: Michal Wajdeczko
In addition to the reprovisioning of individual VFs configurations,
we should also reprovision GuC global policy settings. Note that we
already had a draft function for that but we missed to call it once
we started handling GT reset. Reuse it now but don't take extra RPM
as this is now a caller responsibility and drop unused parameter.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
drivers/gpu/drm/xe/xe_gt_sriov_pf.c | 1 +
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 14 +++-----------
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h | 2 +-
3 files changed, 5 insertions(+), 12 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf.c
index fb5c9101e275..7868056841b3 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf.c
@@ -219,6 +219,7 @@ static void pf_restart(struct xe_gt *gt)
xe_gt_assert(gt, !xe_pm_runtime_suspended(xe));
+ xe_gt_sriov_pf_policy_restart(gt);
xe_gt_sriov_pf_config_restart(gt);
xe_gt_sriov_pf_control_restart(gt);
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
index c88c4e6a9b61..aa80b4abd42f 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
@@ -17,7 +17,6 @@
#include "xe_guc_ct.h"
#include "xe_guc_klv_helpers.h"
#include "xe_guc_submit.h"
-#include "xe_pm.h"
/*
* Return: number of KLVs that were successfully parsed and saved,
@@ -692,30 +691,23 @@ void xe_gt_sriov_pf_policy_sanitize(struct xe_gt *gt)
}
/**
- * xe_gt_sriov_pf_policy_reprovision - Reprovision (and optionally reset) policy settings.
+ * xe_gt_sriov_pf_policy_restart() - Reprovision policy settings.
* @gt: the &xe_gt
- * @reset: if true will reprovision using default values instead of latest
*
* This function can only be called on PF.
*
* Return: 0 on success or a negative error code on failure.
*/
-int xe_gt_sriov_pf_policy_reprovision(struct xe_gt *gt, bool reset)
+int xe_gt_sriov_pf_policy_restart(struct xe_gt *gt)
{
int err = 0;
- xe_pm_runtime_get_noresume(gt_to_xe(gt));
+ guard(mutex)(xe_gt_sriov_pf_master_mutex(gt));
- mutex_lock(xe_gt_sriov_pf_master_mutex(gt));
- if (reset)
- pf_sanitize_guc_policies(gt);
err |= pf_reprovision_sched_if_idle(gt);
err |= pf_reprovision_reset_engine(gt);
err |= pf_reprovision_sample_period(gt);
err |= pf_reprovision_sched_groups(gt);
- mutex_unlock(xe_gt_sriov_pf_master_mutex(gt));
-
- xe_pm_runtime_put(gt_to_xe(gt));
return err ? -ENXIO : 0;
}
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h
index bd73aa58f9ca..c9d4c4aaaf5d 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h
@@ -29,7 +29,7 @@ bool xe_gt_sriov_pf_policy_sched_groups_enabled(struct xe_gt *gt);
void xe_gt_sriov_pf_policy_init(struct xe_gt *gt);
void xe_gt_sriov_pf_policy_sanitize(struct xe_gt *gt);
-int xe_gt_sriov_pf_policy_reprovision(struct xe_gt *gt, bool reset);
+int xe_gt_sriov_pf_policy_restart(struct xe_gt *gt);
int xe_gt_sriov_pf_policy_print(struct xe_gt *gt, struct drm_printer *p);
#endif
--
2.47.1
^ permalink raw reply related [flat|nested] 32+ messages in thread* Re: [PATCH 05/13] drm/xe/pf: Reprovision policy settings after GT reset
2026-03-30 20:40 ` [PATCH 05/13] drm/xe/pf: Reprovision policy settings after GT reset Michal Wajdeczko
@ 2026-04-02 11:23 ` Piotr Piórkowski
0 siblings, 0 replies; 32+ messages in thread
From: Piotr Piórkowski @ 2026-04-02 11:23 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
Michal Wajdeczko <michal.wajdeczko@intel.com> wrote on pon [2026-mar-30 22:40:36 +0200]:
> In addition to the reprovisioning of individual VFs configurations,
> we should also reprovision GuC global policy settings. Note that we
> already had a draft function for that but we missed to call it once
> we started handling GT reset. Reuse it now but don't take extra RPM
> as this is now a caller responsibility and drop unused parameter.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> ---
> drivers/gpu/drm/xe/xe_gt_sriov_pf.c | 1 +
> drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 14 +++-----------
> drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h | 2 +-
> 3 files changed, 5 insertions(+), 12 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf.c
> index fb5c9101e275..7868056841b3 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf.c
> @@ -219,6 +219,7 @@ static void pf_restart(struct xe_gt *gt)
>
> xe_gt_assert(gt, !xe_pm_runtime_suspended(xe));
>
> + xe_gt_sriov_pf_policy_restart(gt);
> xe_gt_sriov_pf_config_restart(gt);
> xe_gt_sriov_pf_control_restart(gt);
>
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
> index c88c4e6a9b61..aa80b4abd42f 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
> @@ -17,7 +17,6 @@
> #include "xe_guc_ct.h"
> #include "xe_guc_klv_helpers.h"
> #include "xe_guc_submit.h"
> -#include "xe_pm.h"
>
> /*
> * Return: number of KLVs that were successfully parsed and saved,
> @@ -692,30 +691,23 @@ void xe_gt_sriov_pf_policy_sanitize(struct xe_gt *gt)
> }
>
> /**
> - * xe_gt_sriov_pf_policy_reprovision - Reprovision (and optionally reset) policy settings.
> + * xe_gt_sriov_pf_policy_restart() - Reprovision policy settings.
> * @gt: the &xe_gt
> - * @reset: if true will reprovision using default values instead of latest
> *
> * This function can only be called on PF.
> *
> * Return: 0 on success or a negative error code on failure.
> */
> -int xe_gt_sriov_pf_policy_reprovision(struct xe_gt *gt, bool reset)
> +int xe_gt_sriov_pf_policy_restart(struct xe_gt *gt)
> {
> int err = 0;
>
> - xe_pm_runtime_get_noresume(gt_to_xe(gt));
> + guard(mutex)(xe_gt_sriov_pf_master_mutex(gt));
>
> - mutex_lock(xe_gt_sriov_pf_master_mutex(gt));
> - if (reset)
> - pf_sanitize_guc_policies(gt);
> err |= pf_reprovision_sched_if_idle(gt);
> err |= pf_reprovision_reset_engine(gt);
> err |= pf_reprovision_sample_period(gt);
> err |= pf_reprovision_sched_groups(gt);
> - mutex_unlock(xe_gt_sriov_pf_master_mutex(gt));
> -
> - xe_pm_runtime_put(gt_to_xe(gt));
>
> return err ? -ENXIO : 0;
> }
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h
> index bd73aa58f9ca..c9d4c4aaaf5d 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h
> @@ -29,7 +29,7 @@ bool xe_gt_sriov_pf_policy_sched_groups_enabled(struct xe_gt *gt);
>
> void xe_gt_sriov_pf_policy_init(struct xe_gt *gt);
> void xe_gt_sriov_pf_policy_sanitize(struct xe_gt *gt);
> -int xe_gt_sriov_pf_policy_reprovision(struct xe_gt *gt, bool reset);
> +int xe_gt_sriov_pf_policy_restart(struct xe_gt *gt);
> int xe_gt_sriov_pf_policy_print(struct xe_gt *gt, struct drm_printer *p);
>
> #endif
LGTM:
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
> --
> 2.47.1
>
--
^ permalink raw reply [flat|nested] 32+ messages in thread
* [PATCH 06/13] drm/xe/pf: Don't reprovision policies if already default
2026-03-30 20:40 [PATCH 00/13] drm/xe/pf: Improve EQ/PT provisioning Michal Wajdeczko
` (4 preceding siblings ...)
2026-03-30 20:40 ` [PATCH 05/13] drm/xe/pf: Reprovision policy settings after GT reset Michal Wajdeczko
@ 2026-03-30 20:40 ` Michal Wajdeczko
2026-04-02 11:23 ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 07/13] drm/xe/pf: Encode scheduling priority KLV if needed Michal Wajdeczko
` (9 subsequent siblings)
15 siblings, 1 reply; 32+ messages in thread
From: Michal Wajdeczko @ 2026-03-30 20:40 UTC (permalink / raw)
To: intel-xe; +Cc: Michal Wajdeczko
There is no need to send policy updates to the GuC if policies
were not changed from the default settings (usually zero value).
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
index aa80b4abd42f..0007ed7e0d38 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
@@ -177,6 +177,9 @@ static int pf_reprovision_sched_if_idle(struct xe_gt *gt)
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
lockdep_assert_held(xe_gt_sriov_pf_master_mutex(gt));
+ if (!gt->sriov.pf.policy.guc.sched_if_idle)
+ return 0;
+
return pf_provision_sched_if_idle(gt, gt->sriov.pf.policy.guc.sched_if_idle);
}
@@ -255,6 +258,9 @@ static int pf_reprovision_reset_engine(struct xe_gt *gt)
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
lockdep_assert_held(xe_gt_sriov_pf_master_mutex(gt));
+ if (!gt->sriov.pf.policy.guc.reset_engine)
+ return 0;
+
return pf_provision_reset_engine(gt, gt->sriov.pf.policy.guc.reset_engine);
}
@@ -321,6 +327,9 @@ static int pf_reprovision_sample_period(struct xe_gt *gt)
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
lockdep_assert_held(xe_gt_sriov_pf_master_mutex(gt));
+ if (!gt->sriov.pf.policy.guc.sample_period)
+ return 0;
+
return pf_provision_sample_period(gt, gt->sriov.pf.policy.guc.sample_period);
}
--
2.47.1
^ permalink raw reply related [flat|nested] 32+ messages in thread* Re: [PATCH 06/13] drm/xe/pf: Don't reprovision policies if already default
2026-03-30 20:40 ` [PATCH 06/13] drm/xe/pf: Don't reprovision policies if already default Michal Wajdeczko
@ 2026-04-02 11:23 ` Piotr Piórkowski
0 siblings, 0 replies; 32+ messages in thread
From: Piotr Piórkowski @ 2026-04-02 11:23 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
Michal Wajdeczko <michal.wajdeczko@intel.com> wrote on pon [2026-mar-30 22:40:37 +0200]:
> There is no need to send policy updates to the GuC if policies
> were not changed from the default settings (usually zero value).
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> ---
> drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
> index aa80b4abd42f..0007ed7e0d38 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
> @@ -177,6 +177,9 @@ static int pf_reprovision_sched_if_idle(struct xe_gt *gt)
> xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
> lockdep_assert_held(xe_gt_sriov_pf_master_mutex(gt));
>
> + if (!gt->sriov.pf.policy.guc.sched_if_idle)
> + return 0;
> +
> return pf_provision_sched_if_idle(gt, gt->sriov.pf.policy.guc.sched_if_idle);
> }
>
> @@ -255,6 +258,9 @@ static int pf_reprovision_reset_engine(struct xe_gt *gt)
> xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
> lockdep_assert_held(xe_gt_sriov_pf_master_mutex(gt));
>
> + if (!gt->sriov.pf.policy.guc.reset_engine)
> + return 0;
> +
> return pf_provision_reset_engine(gt, gt->sriov.pf.policy.guc.reset_engine);
> }
>
> @@ -321,6 +327,9 @@ static int pf_reprovision_sample_period(struct xe_gt *gt)
> xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
> lockdep_assert_held(xe_gt_sriov_pf_master_mutex(gt));
>
> + if (!gt->sriov.pf.policy.guc.sample_period)
> + return 0;
> +
> return pf_provision_sample_period(gt, gt->sriov.pf.policy.guc.sample_period);
> }
LGTM:
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
>
> --
> 2.47.1
>
--
^ permalink raw reply [flat|nested] 32+ messages in thread
* [PATCH 07/13] drm/xe/pf: Encode scheduling priority KLV if needed
2026-03-30 20:40 [PATCH 00/13] drm/xe/pf: Improve EQ/PT provisioning Michal Wajdeczko
` (5 preceding siblings ...)
2026-03-30 20:40 ` [PATCH 06/13] drm/xe/pf: Don't reprovision policies if already default Michal Wajdeczko
@ 2026-03-30 20:40 ` Michal Wajdeczko
2026-04-02 13:18 ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 08/13] drm/xe/pf: Check EQ/PT/PRIO when testing VF config Michal Wajdeczko
` (8 subsequent siblings)
15 siblings, 1 reply; 32+ messages in thread
From: Michal Wajdeczko @ 2026-03-30 20:40 UTC (permalink / raw)
To: intel-xe; +Cc: Michal Wajdeczko
After a reset we missed to reprovision VFs scheduling priority config.
But as of today, the GuC firmware allows to change scheduling priority
using config SCHED_PRIORITY KLV only for the PF and configuration of
all VFs relies on the previously applied value of the SCHED_IF_IDLE
policy. Use this policy value to check and decide whether we need to
encode VF priority KLV while reprovisioning this VF.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 12 +++++++++++
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 25 ++++++++++++++++------
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h | 1 +
3 files changed, 31 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
index e1c028176eb8..b05034d3fdf2 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
@@ -285,6 +285,13 @@ static u32 encode_config_ggtt(u32 *cfg, const struct xe_gt_sriov_config *config,
return encode_ggtt(cfg, xe_ggtt_node_addr(node), xe_ggtt_node_size(node), details);
}
+static bool custom_sched_priority(struct xe_gt *gt, u32 priority)
+{
+ return xe_gt_sriov_pf_policy_get_sched_if_idle_locked(gt) ?
+ priority != GUC_SCHED_PRIORITY_NORMAL :
+ priority != GUC_SCHED_PRIORITY_LOW;
+}
+
static u32 encode_config_sched(struct xe_gt *gt, u32 *cfg, u32 n,
const struct xe_gt_sriov_config *config)
{
@@ -313,6 +320,11 @@ static u32 encode_config_sched(struct xe_gt *gt, u32 *cfg, u32 n,
cfg[n++] = config->preempt_timeout[0];
}
+ if (custom_sched_priority(gt, config->sched_priority)) {
+ cfg[n++] = PREP_GUC_KLV_TAG(VF_CFG_SCHED_PRIORITY);
+ cfg[n++] = config->sched_priority;
+ }
+
return n;
}
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
index 0007ed7e0d38..63e6326d45f8 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
@@ -223,6 +223,22 @@ int xe_gt_sriov_pf_policy_set_sched_if_idle(struct xe_gt *gt, bool enable)
return 0;
}
+/**
+ * xe_gt_sriov_pf_policy_get_sched_if_idle_locked() - Retrieve value of 'sched_if_idle' policy.
+ * @gt: the &xe_gt where to read the policy from
+ *
+ * This function can only be called on PF.
+ *
+ * Return: last value of 'sched_if_idle' policy applied.
+ */
+bool xe_gt_sriov_pf_policy_get_sched_if_idle_locked(struct xe_gt *gt)
+{
+ xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
+ lockdep_assert_held(xe_gt_sriov_pf_master_mutex(gt));
+
+ return gt->sriov.pf.policy.guc.sched_if_idle;
+}
+
/**
* xe_gt_sriov_pf_policy_get_sched_if_idle - Retrieve value of 'sched_if_idle' policy.
* @gt: the &xe_gt where to read the policy from
@@ -233,15 +249,10 @@ int xe_gt_sriov_pf_policy_set_sched_if_idle(struct xe_gt *gt, bool enable)
*/
bool xe_gt_sriov_pf_policy_get_sched_if_idle(struct xe_gt *gt)
{
- bool enable;
-
xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
+ guard(mutex)(xe_gt_sriov_pf_master_mutex(gt));
- mutex_lock(xe_gt_sriov_pf_master_mutex(gt));
- enable = gt->sriov.pf.policy.guc.sched_if_idle;
- mutex_unlock(xe_gt_sriov_pf_master_mutex(gt));
-
- return enable;
+ return xe_gt_sriov_pf_policy_get_sched_if_idle_locked(gt);
}
static int pf_provision_reset_engine(struct xe_gt *gt, bool enable)
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h
index c9d4c4aaaf5d..f437dc1f5e90 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h
@@ -15,6 +15,7 @@ struct xe_gt;
int xe_gt_sriov_pf_policy_set_sched_if_idle(struct xe_gt *gt, bool enable);
bool xe_gt_sriov_pf_policy_get_sched_if_idle(struct xe_gt *gt);
+bool xe_gt_sriov_pf_policy_get_sched_if_idle_locked(struct xe_gt *gt);
int xe_gt_sriov_pf_policy_set_reset_engine(struct xe_gt *gt, bool enable);
bool xe_gt_sriov_pf_policy_get_reset_engine(struct xe_gt *gt);
int xe_gt_sriov_pf_policy_set_sample_period(struct xe_gt *gt, u32 value);
--
2.47.1
^ permalink raw reply related [flat|nested] 32+ messages in thread* Re: [PATCH 07/13] drm/xe/pf: Encode scheduling priority KLV if needed
2026-03-30 20:40 ` [PATCH 07/13] drm/xe/pf: Encode scheduling priority KLV if needed Michal Wajdeczko
@ 2026-04-02 13:18 ` Piotr Piórkowski
0 siblings, 0 replies; 32+ messages in thread
From: Piotr Piórkowski @ 2026-04-02 13:18 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
Michal Wajdeczko <michal.wajdeczko@intel.com> wrote on pon [2026-mar-30 22:40:38 +0200]:
> After a reset we missed to reprovision VFs scheduling priority config.
> But as of today, the GuC firmware allows to change scheduling priority
> using config SCHED_PRIORITY KLV only for the PF and configuration of
> all VFs relies on the previously applied value of the SCHED_IF_IDLE
> policy. Use this policy value to check and decide whether we need to
> encode VF priority KLV while reprovisioning this VF.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> ---
> drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 12 +++++++++++
> drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 25 ++++++++++++++++------
> drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h | 1 +
> 3 files changed, 31 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> index e1c028176eb8..b05034d3fdf2 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> @@ -285,6 +285,13 @@ static u32 encode_config_ggtt(u32 *cfg, const struct xe_gt_sriov_config *config,
> return encode_ggtt(cfg, xe_ggtt_node_addr(node), xe_ggtt_node_size(node), details);
> }
>
> +static bool custom_sched_priority(struct xe_gt *gt, u32 priority)
> +{
> + return xe_gt_sriov_pf_policy_get_sched_if_idle_locked(gt) ?
> + priority != GUC_SCHED_PRIORITY_NORMAL :
> + priority != GUC_SCHED_PRIORITY_LOW;
> +}
> +
> static u32 encode_config_sched(struct xe_gt *gt, u32 *cfg, u32 n,
> const struct xe_gt_sriov_config *config)
> {
> @@ -313,6 +320,11 @@ static u32 encode_config_sched(struct xe_gt *gt, u32 *cfg, u32 n,
> cfg[n++] = config->preempt_timeout[0];
> }
>
> + if (custom_sched_priority(gt, config->sched_priority)) {
> + cfg[n++] = PREP_GUC_KLV_TAG(VF_CFG_SCHED_PRIORITY);
> + cfg[n++] = config->sched_priority;
> + }
> +
> return n;
> }
>
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
> index 0007ed7e0d38..63e6326d45f8 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
> @@ -223,6 +223,22 @@ int xe_gt_sriov_pf_policy_set_sched_if_idle(struct xe_gt *gt, bool enable)
> return 0;
> }
>
> +/**
> + * xe_gt_sriov_pf_policy_get_sched_if_idle_locked() - Retrieve value of 'sched_if_idle' policy.
> + * @gt: the &xe_gt where to read the policy from
> + *
> + * This function can only be called on PF.
> + *
> + * Return: last value of 'sched_if_idle' policy applied.
> + */
> +bool xe_gt_sriov_pf_policy_get_sched_if_idle_locked(struct xe_gt *gt)
> +{
> + xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
> + lockdep_assert_held(xe_gt_sriov_pf_master_mutex(gt));
> +
> + return gt->sriov.pf.policy.guc.sched_if_idle;
> +}
> +
> /**
> * xe_gt_sriov_pf_policy_get_sched_if_idle - Retrieve value of 'sched_if_idle' policy.
> * @gt: the &xe_gt where to read the policy from
> @@ -233,15 +249,10 @@ int xe_gt_sriov_pf_policy_set_sched_if_idle(struct xe_gt *gt, bool enable)
> */
> bool xe_gt_sriov_pf_policy_get_sched_if_idle(struct xe_gt *gt)
> {
> - bool enable;
> -
> xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
> + guard(mutex)(xe_gt_sriov_pf_master_mutex(gt));
>
> - mutex_lock(xe_gt_sriov_pf_master_mutex(gt));
> - enable = gt->sriov.pf.policy.guc.sched_if_idle;
> - mutex_unlock(xe_gt_sriov_pf_master_mutex(gt));
> -
> - return enable;
> + return xe_gt_sriov_pf_policy_get_sched_if_idle_locked(gt);
> }
>
> static int pf_provision_reset_engine(struct xe_gt *gt, bool enable)
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h
> index c9d4c4aaaf5d..f437dc1f5e90 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h
> @@ -15,6 +15,7 @@ struct xe_gt;
>
> int xe_gt_sriov_pf_policy_set_sched_if_idle(struct xe_gt *gt, bool enable);
> bool xe_gt_sriov_pf_policy_get_sched_if_idle(struct xe_gt *gt);
> +bool xe_gt_sriov_pf_policy_get_sched_if_idle_locked(struct xe_gt *gt);
> int xe_gt_sriov_pf_policy_set_reset_engine(struct xe_gt *gt, bool enable);
> bool xe_gt_sriov_pf_policy_get_reset_engine(struct xe_gt *gt);
> int xe_gt_sriov_pf_policy_set_sample_period(struct xe_gt *gt, u32 value);
LGTM:
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
> --
> 2.47.1
>
--
^ permalink raw reply [flat|nested] 32+ messages in thread
* [PATCH 08/13] drm/xe/pf: Check EQ/PT/PRIO when testing VF config
2026-03-30 20:40 [PATCH 00/13] drm/xe/pf: Improve EQ/PT provisioning Michal Wajdeczko
` (6 preceding siblings ...)
2026-03-30 20:40 ` [PATCH 07/13] drm/xe/pf: Encode scheduling priority KLV if needed Michal Wajdeczko
@ 2026-03-30 20:40 ` Michal Wajdeczko
2026-04-02 13:30 ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 09/13] drm/xe/pf: Allow to change sched_if_idle policy under lock Michal Wajdeczko
` (7 subsequent siblings)
15 siblings, 1 reply; 32+ messages in thread
From: Michal Wajdeczko @ 2026-03-30 20:40 UTC (permalink / raw)
To: intel-xe; +Cc: Michal Wajdeczko
In addition to the hard resources (like GGTT, CTXs, DBs) we should
also check if VF was already configured (by sysfs or debugfs) with
optional parameters like execution quantum (EQ), preemption timeout
(PT) or scheduling priority (PRIO) as otherwise we might miss to
send to the GuC updated latest values after a resume or GT reset.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 32 ++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
index b05034d3fdf2..e673e96a147a 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
@@ -2090,6 +2090,17 @@ static u32 pf_get_exec_quantum(struct xe_gt *gt, unsigned int vfid)
return config->exec_quantum[0];
}
+static bool pf_non_default_exec_quantum(struct xe_gt *gt, unsigned int vfid)
+{
+ struct xe_gt_sriov_config *config = pf_pick_vf_config(gt, vfid);
+ int i;
+
+ for (i = 0; i < ARRAY_SIZE(config->exec_quantum); i++)
+ if (config->exec_quantum[i])
+ return true;
+ return false;
+}
+
/**
* xe_gt_sriov_pf_config_set_exec_quantum_locked() - Configure PF/VF execution quantum.
* @gt: the &xe_gt
@@ -2305,6 +2316,17 @@ static u32 pf_get_preempt_timeout(struct xe_gt *gt, unsigned int vfid)
return config->preempt_timeout[0];
}
+static bool pf_non_default_preempt_timeout(struct xe_gt *gt, unsigned int vfid)
+{
+ struct xe_gt_sriov_config *config = pf_pick_vf_config(gt, vfid);
+ int i;
+
+ for (i = 0; i < ARRAY_SIZE(config->preempt_timeout); i++)
+ if (config->preempt_timeout[i])
+ return true;
+ return false;
+}
+
/**
* xe_gt_sriov_pf_config_set_preempt_timeout_locked() - Configure PF/VF preemption timeout.
* @gt: the &xe_gt
@@ -2602,6 +2624,13 @@ static void pf_reset_config_sched(struct xe_gt *gt, struct xe_gt_sriov_config *c
}
}
+static bool pf_non_default_sched(struct xe_gt *gt, unsigned int vfid)
+{
+ return pf_non_default_exec_quantum(gt, vfid) ||
+ pf_non_default_preempt_timeout(gt, vfid) ||
+ custom_sched_priority(gt, pf_get_sched_priority(gt, vfid));
+}
+
static int pf_provision_threshold(struct xe_gt *gt, unsigned int vfid,
enum xe_guc_klv_threshold_index index, u32 value)
{
@@ -2878,6 +2907,9 @@ static int pf_validate_vf_config(struct xe_gt *gt, unsigned int vfid)
valid_all = valid_all && valid_lmem;
}
+ /* also check optional EQ/PT/PRIO */
+ valid_any = valid_any || pf_non_default_sched(gt, vfid);
+
return valid_all ? 0 : valid_any ? -ENOKEY : -ENODATA;
}
--
2.47.1
^ permalink raw reply related [flat|nested] 32+ messages in thread* Re: [PATCH 08/13] drm/xe/pf: Check EQ/PT/PRIO when testing VF config
2026-03-30 20:40 ` [PATCH 08/13] drm/xe/pf: Check EQ/PT/PRIO when testing VF config Michal Wajdeczko
@ 2026-04-02 13:30 ` Piotr Piórkowski
0 siblings, 0 replies; 32+ messages in thread
From: Piotr Piórkowski @ 2026-04-02 13:30 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
Michal Wajdeczko <michal.wajdeczko@intel.com> wrote on pon [2026-mar-30 22:40:39 +0200]:
> In addition to the hard resources (like GGTT, CTXs, DBs) we should
> also check if VF was already configured (by sysfs or debugfs) with
> optional parameters like execution quantum (EQ), preemption timeout
> (PT) or scheduling priority (PRIO) as otherwise we might miss to
> send to the GuC updated latest values after a resume or GT reset.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> ---
> drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 32 ++++++++++++++++++++++
> 1 file changed, 32 insertions(+)
>
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> index b05034d3fdf2..e673e96a147a 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> @@ -2090,6 +2090,17 @@ static u32 pf_get_exec_quantum(struct xe_gt *gt, unsigned int vfid)
> return config->exec_quantum[0];
> }
>
> +static bool pf_non_default_exec_quantum(struct xe_gt *gt, unsigned int vfid)
> +{
> + struct xe_gt_sriov_config *config = pf_pick_vf_config(gt, vfid);
> + int i;
> +
> + for (i = 0; i < ARRAY_SIZE(config->exec_quantum); i++)
> + if (config->exec_quantum[i])
> + return true;
> + return false;
> +}
> +
> /**
> * xe_gt_sriov_pf_config_set_exec_quantum_locked() - Configure PF/VF execution quantum.
> * @gt: the &xe_gt
> @@ -2305,6 +2316,17 @@ static u32 pf_get_preempt_timeout(struct xe_gt *gt, unsigned int vfid)
> return config->preempt_timeout[0];
> }
>
> +static bool pf_non_default_preempt_timeout(struct xe_gt *gt, unsigned int vfid)
> +{
> + struct xe_gt_sriov_config *config = pf_pick_vf_config(gt, vfid);
> + int i;
> +
> + for (i = 0; i < ARRAY_SIZE(config->preempt_timeout); i++)
> + if (config->preempt_timeout[i])
> + return true;
> + return false;
> +}
> +
> /**
> * xe_gt_sriov_pf_config_set_preempt_timeout_locked() - Configure PF/VF preemption timeout.
> * @gt: the &xe_gt
> @@ -2602,6 +2624,13 @@ static void pf_reset_config_sched(struct xe_gt *gt, struct xe_gt_sriov_config *c
> }
> }
>
> +static bool pf_non_default_sched(struct xe_gt *gt, unsigned int vfid)
> +{
> + return pf_non_default_exec_quantum(gt, vfid) ||
> + pf_non_default_preempt_timeout(gt, vfid) ||
> + custom_sched_priority(gt, pf_get_sched_priority(gt, vfid));
> +}
> +
> static int pf_provision_threshold(struct xe_gt *gt, unsigned int vfid,
> enum xe_guc_klv_threshold_index index, u32 value)
> {
> @@ -2878,6 +2907,9 @@ static int pf_validate_vf_config(struct xe_gt *gt, unsigned int vfid)
> valid_all = valid_all && valid_lmem;
> }
>
> + /* also check optional EQ/PT/PRIO */
> + valid_any = valid_any || pf_non_default_sched(gt, vfid);
> +
> return valid_all ? 0 : valid_any ? -ENOKEY : -ENODATA;
> }
LGTM:
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
>
> --
> 2.47.1
>
--
^ permalink raw reply [flat|nested] 32+ messages in thread
* [PATCH 09/13] drm/xe/pf: Allow to change sched_if_idle policy under lock
2026-03-30 20:40 [PATCH 00/13] drm/xe/pf: Improve EQ/PT provisioning Michal Wajdeczko
` (7 preceding siblings ...)
2026-03-30 20:40 ` [PATCH 08/13] drm/xe/pf: Check EQ/PT/PRIO when testing VF config Michal Wajdeczko
@ 2026-03-30 20:40 ` Michal Wajdeczko
2026-04-02 13:33 ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 10/13] drm/xe/pf: Reprovision scheduling to default when no VFs Michal Wajdeczko
` (6 subsequent siblings)
15 siblings, 1 reply; 32+ messages in thread
From: Michal Wajdeczko @ 2026-03-30 20:40 UTC (permalink / raw)
To: intel-xe; +Cc: Michal Wajdeczko
In upcoming patch we will need to update sched_if_idle policy when
we already hold the provisioning mutex. Split existing function
into two variants to allow that.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 23 +++++++++++++++++++---
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h | 1 +
2 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
index 63e6326d45f8..e8458d63742d 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
@@ -192,7 +192,7 @@ static void pf_sanitize_sched_if_idle(struct xe_gt *gt)
}
/**
- * xe_gt_sriov_pf_policy_set_sched_if_idle - Control the 'sched_if_idle' policy.
+ * xe_gt_sriov_pf_policy_set_sched_if_idle_locked() - Control the 'sched_if_idle' policy.
* @gt: the &xe_gt where to apply the policy
* @enable: the value of the 'sched_if_idle' policy
*
@@ -200,12 +200,12 @@ static void pf_sanitize_sched_if_idle(struct xe_gt *gt)
*
* Return: 0 on success or a negative error code on failure.
*/
-int xe_gt_sriov_pf_policy_set_sched_if_idle(struct xe_gt *gt, bool enable)
+int xe_gt_sriov_pf_policy_set_sched_if_idle_locked(struct xe_gt *gt, bool enable)
{
u32 priority;
int err;
- guard(mutex)(xe_gt_sriov_pf_master_mutex(gt));
+ lockdep_assert_held(xe_gt_sriov_pf_master_mutex(gt));
err = pf_provision_sched_if_idle(gt, enable);
if (err)
@@ -223,6 +223,23 @@ int xe_gt_sriov_pf_policy_set_sched_if_idle(struct xe_gt *gt, bool enable)
return 0;
}
+/**
+ * xe_gt_sriov_pf_policy_set_sched_if_idle() - Control the 'sched_if_idle' policy.
+ * @gt: the &xe_gt where to apply the policy
+ * @enable: the value of the 'sched_if_idle' policy
+ *
+ * This function can only be called on PF.
+ *
+ * Return: 0 on success or a negative error code on failure.
+ */
+int xe_gt_sriov_pf_policy_set_sched_if_idle(struct xe_gt *gt, bool enable)
+{
+ xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
+ guard(mutex)(xe_gt_sriov_pf_master_mutex(gt));
+
+ return xe_gt_sriov_pf_policy_set_sched_if_idle_locked(gt, enable);
+}
+
/**
* xe_gt_sriov_pf_policy_get_sched_if_idle_locked() - Retrieve value of 'sched_if_idle' policy.
* @gt: the &xe_gt where to read the policy from
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h
index f437dc1f5e90..d667d66897b1 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h
@@ -14,6 +14,7 @@ struct drm_printer;
struct xe_gt;
int xe_gt_sriov_pf_policy_set_sched_if_idle(struct xe_gt *gt, bool enable);
+int xe_gt_sriov_pf_policy_set_sched_if_idle_locked(struct xe_gt *gt, bool enable);
bool xe_gt_sriov_pf_policy_get_sched_if_idle(struct xe_gt *gt);
bool xe_gt_sriov_pf_policy_get_sched_if_idle_locked(struct xe_gt *gt);
int xe_gt_sriov_pf_policy_set_reset_engine(struct xe_gt *gt, bool enable);
--
2.47.1
^ permalink raw reply related [flat|nested] 32+ messages in thread* Re: [PATCH 09/13] drm/xe/pf: Allow to change sched_if_idle policy under lock
2026-03-30 20:40 ` [PATCH 09/13] drm/xe/pf: Allow to change sched_if_idle policy under lock Michal Wajdeczko
@ 2026-04-02 13:33 ` Piotr Piórkowski
0 siblings, 0 replies; 32+ messages in thread
From: Piotr Piórkowski @ 2026-04-02 13:33 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
Michal Wajdeczko <michal.wajdeczko@intel.com> wrote on pon [2026-mar-30 22:40:40 +0200]:
> In upcoming patch we will need to update sched_if_idle policy when
> we already hold the provisioning mutex. Split existing function
> into two variants to allow that.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> ---
> drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 23 +++++++++++++++++++---
> drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h | 1 +
> 2 files changed, 21 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
> index 63e6326d45f8..e8458d63742d 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
> @@ -192,7 +192,7 @@ static void pf_sanitize_sched_if_idle(struct xe_gt *gt)
> }
>
> /**
> - * xe_gt_sriov_pf_policy_set_sched_if_idle - Control the 'sched_if_idle' policy.
> + * xe_gt_sriov_pf_policy_set_sched_if_idle_locked() - Control the 'sched_if_idle' policy.
> * @gt: the &xe_gt where to apply the policy
> * @enable: the value of the 'sched_if_idle' policy
> *
> @@ -200,12 +200,12 @@ static void pf_sanitize_sched_if_idle(struct xe_gt *gt)
> *
> * Return: 0 on success or a negative error code on failure.
> */
> -int xe_gt_sriov_pf_policy_set_sched_if_idle(struct xe_gt *gt, bool enable)
> +int xe_gt_sriov_pf_policy_set_sched_if_idle_locked(struct xe_gt *gt, bool enable)
> {
> u32 priority;
> int err;
>
> - guard(mutex)(xe_gt_sriov_pf_master_mutex(gt));
> + lockdep_assert_held(xe_gt_sriov_pf_master_mutex(gt));
>
> err = pf_provision_sched_if_idle(gt, enable);
> if (err)
> @@ -223,6 +223,23 @@ int xe_gt_sriov_pf_policy_set_sched_if_idle(struct xe_gt *gt, bool enable)
> return 0;
> }
>
> +/**
> + * xe_gt_sriov_pf_policy_set_sched_if_idle() - Control the 'sched_if_idle' policy.
> + * @gt: the &xe_gt where to apply the policy
> + * @enable: the value of the 'sched_if_idle' policy
> + *
> + * This function can only be called on PF.
> + *
> + * Return: 0 on success or a negative error code on failure.
> + */
> +int xe_gt_sriov_pf_policy_set_sched_if_idle(struct xe_gt *gt, bool enable)
> +{
> + xe_gt_assert(gt, IS_SRIOV_PF(gt_to_xe(gt)));
> + guard(mutex)(xe_gt_sriov_pf_master_mutex(gt));
> +
> + return xe_gt_sriov_pf_policy_set_sched_if_idle_locked(gt, enable);
> +}
> +
> /**
> * xe_gt_sriov_pf_policy_get_sched_if_idle_locked() - Retrieve value of 'sched_if_idle' policy.
> * @gt: the &xe_gt where to read the policy from
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h
> index f437dc1f5e90..d667d66897b1 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h
> @@ -14,6 +14,7 @@ struct drm_printer;
> struct xe_gt;
>
> int xe_gt_sriov_pf_policy_set_sched_if_idle(struct xe_gt *gt, bool enable);
> +int xe_gt_sriov_pf_policy_set_sched_if_idle_locked(struct xe_gt *gt, bool enable);
> bool xe_gt_sriov_pf_policy_get_sched_if_idle(struct xe_gt *gt);
> bool xe_gt_sriov_pf_policy_get_sched_if_idle_locked(struct xe_gt *gt);
> int xe_gt_sriov_pf_policy_set_reset_engine(struct xe_gt *gt, bool enable);
> --
> 2.47.1
LGTM:
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
>
--
^ permalink raw reply [flat|nested] 32+ messages in thread
* [PATCH 10/13] drm/xe/pf: Reprovision scheduling to default when no VFs
2026-03-30 20:40 [PATCH 00/13] drm/xe/pf: Improve EQ/PT provisioning Michal Wajdeczko
` (8 preceding siblings ...)
2026-03-30 20:40 ` [PATCH 09/13] drm/xe/pf: Allow to change sched_if_idle policy under lock Michal Wajdeczko
@ 2026-03-30 20:40 ` Michal Wajdeczko
2026-04-02 15:22 ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 11/13] drm/xe/pf: Extract helper to show which VFs are provisioned Michal Wajdeczko
` (5 subsequent siblings)
15 siblings, 1 reply; 32+ messages in thread
From: Michal Wajdeczko @ 2026-03-30 20:40 UTC (permalink / raw)
To: intel-xe; +Cc: Michal Wajdeczko
Once we have disabled VFs there is no point in keeping potentially
limited PF scheduling provisioning as we want to complete a cleanup
of the VFs resources and return to the pure native mode, the same
as before VFs were enabled, as soon as possible.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
drivers/gpu/drm/xe/xe_pci_sriov.c | 2 ++
drivers/gpu/drm/xe/xe_sriov_pf_provision.c | 39 ++++++++++++++++++++++
drivers/gpu/drm/xe/xe_sriov_pf_provision.h | 1 +
3 files changed, 42 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_pci_sriov.c b/drivers/gpu/drm/xe/xe_pci_sriov.c
index 3fd22034f03e..35e6b53e18ce 100644
--- a/drivers/gpu/drm/xe/xe_pci_sriov.c
+++ b/drivers/gpu/drm/xe/xe_pci_sriov.c
@@ -191,6 +191,8 @@ static int pf_disable_vfs(struct xe_device *xe)
pci_disable_sriov(pdev);
+ xe_sriov_pf_reprovision_default(xe);
+
pf_reset_vfs(xe, num_vfs);
xe_sriov_pf_unprovision_vfs(xe, num_vfs);
diff --git a/drivers/gpu/drm/xe/xe_sriov_pf_provision.c b/drivers/gpu/drm/xe/xe_sriov_pf_provision.c
index abe3677d33ed..e11874d689fa 100644
--- a/drivers/gpu/drm/xe/xe_sriov_pf_provision.c
+++ b/drivers/gpu/drm/xe/xe_sriov_pf_provision.c
@@ -103,6 +103,45 @@ int xe_sriov_pf_unprovision_vfs(struct xe_device *xe, unsigned int num_vfs)
return 0;
}
+static int pf_reprovision_default(struct xe_device *xe)
+{
+ struct xe_gt *gt;
+ unsigned int id;
+ int result = 0;
+ int err;
+
+ guard(mutex)(xe_sriov_pf_master_mutex(xe));
+
+ for_each_gt(gt, xe, id) {
+ err = xe_gt_sriov_pf_policy_set_sched_if_idle_locked(gt, false);
+ result = result ?: err;
+ err = xe_gt_sriov_pf_config_set_exec_quantum_locked(gt, PFID, 0);
+ result = result ?: err;
+ err = xe_gt_sriov_pf_config_set_preempt_timeout_locked(gt, PFID, 0);
+ result = result ?: err;
+ }
+
+ return result;
+}
+
+/**
+ * xe_sriov_pf_reprovision_default() - Reprovision default PF in auto-mode.
+ * @xe: the PF &xe_device
+ *
+ * This function can only be called on PF.
+ *
+ * Return: 0 on success or a negative error code on failure.
+ */
+int xe_sriov_pf_reprovision_default(struct xe_device *xe)
+{
+ xe_assert(xe, IS_SRIOV_PF(xe));
+
+ if (!pf_auto_provisioning_mode(xe))
+ return 0;
+
+ return pf_reprovision_default(xe);
+}
+
/**
* xe_sriov_pf_provision_set_mode() - Change VFs provision mode.
* @xe: the PF &xe_device
diff --git a/drivers/gpu/drm/xe/xe_sriov_pf_provision.h b/drivers/gpu/drm/xe/xe_sriov_pf_provision.h
index f26f49539697..b15e4d7ad940 100644
--- a/drivers/gpu/drm/xe/xe_sriov_pf_provision.h
+++ b/drivers/gpu/drm/xe/xe_sriov_pf_provision.h
@@ -30,6 +30,7 @@ int xe_sriov_pf_provision_query_vf_vram(struct xe_device *xe, unsigned int vfid,
int xe_sriov_pf_provision_vfs(struct xe_device *xe, unsigned int num_vfs);
int xe_sriov_pf_unprovision_vfs(struct xe_device *xe, unsigned int num_vfs);
+int xe_sriov_pf_reprovision_default(struct xe_device *xe);
int xe_sriov_pf_provision_set_mode(struct xe_device *xe, enum xe_sriov_provisioning_mode mode);
--
2.47.1
^ permalink raw reply related [flat|nested] 32+ messages in thread* Re: [PATCH 10/13] drm/xe/pf: Reprovision scheduling to default when no VFs
2026-03-30 20:40 ` [PATCH 10/13] drm/xe/pf: Reprovision scheduling to default when no VFs Michal Wajdeczko
@ 2026-04-02 15:22 ` Piotr Piórkowski
0 siblings, 0 replies; 32+ messages in thread
From: Piotr Piórkowski @ 2026-04-02 15:22 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
Michal Wajdeczko <michal.wajdeczko@intel.com> wrote on pon [2026-mar-30 22:40:41 +0200]:
> Once we have disabled VFs there is no point in keeping potentially
> limited PF scheduling provisioning as we want to complete a cleanup
> of the VFs resources and return to the pure native mode, the same
> as before VFs were enabled, as soon as possible.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> ---
> drivers/gpu/drm/xe/xe_pci_sriov.c | 2 ++
> drivers/gpu/drm/xe/xe_sriov_pf_provision.c | 39 ++++++++++++++++++++++
> drivers/gpu/drm/xe/xe_sriov_pf_provision.h | 1 +
> 3 files changed, 42 insertions(+)
>
> diff --git a/drivers/gpu/drm/xe/xe_pci_sriov.c b/drivers/gpu/drm/xe/xe_pci_sriov.c
> index 3fd22034f03e..35e6b53e18ce 100644
> --- a/drivers/gpu/drm/xe/xe_pci_sriov.c
> +++ b/drivers/gpu/drm/xe/xe_pci_sriov.c
> @@ -191,6 +191,8 @@ static int pf_disable_vfs(struct xe_device *xe)
>
> pci_disable_sriov(pdev);
>
> + xe_sriov_pf_reprovision_default(xe);
> +
> pf_reset_vfs(xe, num_vfs);
>
> xe_sriov_pf_unprovision_vfs(xe, num_vfs);
> diff --git a/drivers/gpu/drm/xe/xe_sriov_pf_provision.c b/drivers/gpu/drm/xe/xe_sriov_pf_provision.c
> index abe3677d33ed..e11874d689fa 100644
> --- a/drivers/gpu/drm/xe/xe_sriov_pf_provision.c
> +++ b/drivers/gpu/drm/xe/xe_sriov_pf_provision.c
> @@ -103,6 +103,45 @@ int xe_sriov_pf_unprovision_vfs(struct xe_device *xe, unsigned int num_vfs)
> return 0;
> }
>
> +static int pf_reprovision_default(struct xe_device *xe)
> +{
> + struct xe_gt *gt;
> + unsigned int id;
> + int result = 0;
> + int err;
> +
> + guard(mutex)(xe_sriov_pf_master_mutex(xe));
> +
> + for_each_gt(gt, xe, id) {
> + err = xe_gt_sriov_pf_policy_set_sched_if_idle_locked(gt, false);
> + result = result ?: err;
> + err = xe_gt_sriov_pf_config_set_exec_quantum_locked(gt, PFID, 0);
> + result = result ?: err;
> + err = xe_gt_sriov_pf_config_set_preempt_timeout_locked(gt, PFID, 0);
> + result = result ?: err;
> + }
> +
> + return result;
> +}
> +
> +/**
> + * xe_sriov_pf_reprovision_default() - Reprovision default PF in auto-mode.
> + * @xe: the PF &xe_device
> + *
> + * This function can only be called on PF.
> + *
> + * Return: 0 on success or a negative error code on failure.
> + */
> +int xe_sriov_pf_reprovision_default(struct xe_device *xe)
> +{
> + xe_assert(xe, IS_SRIOV_PF(xe));
> +
> + if (!pf_auto_provisioning_mode(xe))
> + return 0;
> +
> + return pf_reprovision_default(xe);
> +}
> +
> /**
> * xe_sriov_pf_provision_set_mode() - Change VFs provision mode.
> * @xe: the PF &xe_device
> diff --git a/drivers/gpu/drm/xe/xe_sriov_pf_provision.h b/drivers/gpu/drm/xe/xe_sriov_pf_provision.h
> index f26f49539697..b15e4d7ad940 100644
> --- a/drivers/gpu/drm/xe/xe_sriov_pf_provision.h
> +++ b/drivers/gpu/drm/xe/xe_sriov_pf_provision.h
> @@ -30,6 +30,7 @@ int xe_sriov_pf_provision_query_vf_vram(struct xe_device *xe, unsigned int vfid,
>
> int xe_sriov_pf_provision_vfs(struct xe_device *xe, unsigned int num_vfs);
> int xe_sriov_pf_unprovision_vfs(struct xe_device *xe, unsigned int num_vfs);
> +int xe_sriov_pf_reprovision_default(struct xe_device *xe);
>
> int xe_sriov_pf_provision_set_mode(struct xe_device *xe, enum xe_sriov_provisioning_mode mode);
LGTM:
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
>
> --
> 2.47.1
>
--
^ permalink raw reply [flat|nested] 32+ messages in thread
* [PATCH 11/13] drm/xe/pf: Extract helper to show which VFs are provisioned
2026-03-30 20:40 [PATCH 00/13] drm/xe/pf: Improve EQ/PT provisioning Michal Wajdeczko
` (9 preceding siblings ...)
2026-03-30 20:40 ` [PATCH 10/13] drm/xe/pf: Reprovision scheduling to default when no VFs Michal Wajdeczko
@ 2026-03-30 20:40 ` Michal Wajdeczko
2026-04-02 15:40 ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 12/13] drm/xe/pf: Extract helpers for bulk EQ/PT provisioning Michal Wajdeczko
` (4 subsequent siblings)
15 siblings, 1 reply; 32+ messages in thread
From: Michal Wajdeczko @ 2026-03-30 20:40 UTC (permalink / raw)
To: intel-xe; +Cc: Michal Wajdeczko
In upcoming patches we will want to show which VFs were already
provisioned with resources other than LMEM(VRAM). Convert code
from the LMEM reporting function into a more generic helper that
can handle both u32 and u64 resources and can report also PF.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 30 +++++++++++++++++-----
1 file changed, 23 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
index e673e96a147a..680ea73d1ce3 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
@@ -1934,29 +1934,45 @@ static u64 pf_profile_fair_lmem(struct xe_gt *gt, unsigned int num_vfs)
return ALIGN_DOWN(fair, alignment);
}
-static void __pf_show_provisioning_lmem(struct xe_gt *gt, unsigned int first_vf,
- unsigned int num_vfs, bool provisioned)
+static void __pf_show_provisioned(struct xe_gt *gt, unsigned int first_vf,
+ unsigned int num_vfs, bool provisioned,
+ u32 (*get32)(struct xe_gt *, unsigned int),
+ u64 (*get64)(struct xe_gt *, unsigned int),
+ const char *what)
{
unsigned int allvfs = 1 + xe_gt_sriov_pf_get_totalvfs(gt); /* PF plus VFs */
unsigned long *bitmap __free(bitmap) = bitmap_zalloc(allvfs, GFP_KERNEL);
unsigned int weight;
unsigned int n;
+ bool pf;
+
+ xe_gt_assert(gt, get32 || get64);
if (!bitmap)
return;
for (n = first_vf; n < first_vf + num_vfs; n++) {
- if (!!pf_get_vf_config_lmem(gt, VFID(n)) == provisioned)
+ if ((get32 && (!!get32(gt, VFID(n)) == provisioned)) ||
+ (get64 && (!!get64(gt, VFID(n)) == provisioned)))
bitmap_set(bitmap, n, 1);
}
+ pf = test_and_clear_bit(0, bitmap);
weight = bitmap_weight(bitmap, allvfs);
- if (!weight)
+ if (!pf && !weight)
return;
- xe_gt_sriov_info(gt, "VF%s%*pbl %s provisioned with VRAM\n",
- weight > 1 ? "s " : "", allvfs, bitmap,
- provisioned ? "already" : "not");
+ xe_gt_sriov_info(gt, "%s%s%s%s%*pbl %s provisioned with %s\n",
+ pf ? "PF" : "", pf && weight ? " and " : "",
+ weight ? "VF" : "", weight > 1 ? "s " : "",
+ allvfs, bitmap, provisioned ? "already" : "not", what);
+}
+
+static void __pf_show_provisioning_lmem(struct xe_gt *gt, unsigned int first_vf,
+ unsigned int num_vfs, bool provisioned)
+{
+ __pf_show_provisioned(gt, first_vf, num_vfs, provisioned,
+ NULL, pf_get_vf_config_lmem, "VRAM");
}
static void pf_show_all_provisioned_lmem(struct xe_gt *gt)
--
2.47.1
^ permalink raw reply related [flat|nested] 32+ messages in thread* Re: [PATCH 11/13] drm/xe/pf: Extract helper to show which VFs are provisioned
2026-03-30 20:40 ` [PATCH 11/13] drm/xe/pf: Extract helper to show which VFs are provisioned Michal Wajdeczko
@ 2026-04-02 15:40 ` Piotr Piórkowski
0 siblings, 0 replies; 32+ messages in thread
From: Piotr Piórkowski @ 2026-04-02 15:40 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
Michal Wajdeczko <michal.wajdeczko@intel.com> wrote on pon [2026-mar-30 22:40:42 +0200]:
> In upcoming patches we will want to show which VFs were already
> provisioned with resources other than LMEM(VRAM). Convert code
> from the LMEM reporting function into a more generic helper that
> can handle both u32 and u64 resources and can report also PF.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> ---
> drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 30 +++++++++++++++++-----
> 1 file changed, 23 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> index e673e96a147a..680ea73d1ce3 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> @@ -1934,29 +1934,45 @@ static u64 pf_profile_fair_lmem(struct xe_gt *gt, unsigned int num_vfs)
> return ALIGN_DOWN(fair, alignment);
> }
>
> -static void __pf_show_provisioning_lmem(struct xe_gt *gt, unsigned int first_vf,
> - unsigned int num_vfs, bool provisioned)
> +static void __pf_show_provisioned(struct xe_gt *gt, unsigned int first_vf,
> + unsigned int num_vfs, bool provisioned,
> + u32 (*get32)(struct xe_gt *, unsigned int),
> + u64 (*get64)(struct xe_gt *, unsigned int),
> + const char *what)
> {
> unsigned int allvfs = 1 + xe_gt_sriov_pf_get_totalvfs(gt); /* PF plus VFs */
> unsigned long *bitmap __free(bitmap) = bitmap_zalloc(allvfs, GFP_KERNEL);
> unsigned int weight;
> unsigned int n;
> + bool pf;
> +
> + xe_gt_assert(gt, get32 || get64);
>
> if (!bitmap)
> return;
>
> for (n = first_vf; n < first_vf + num_vfs; n++) {
> - if (!!pf_get_vf_config_lmem(gt, VFID(n)) == provisioned)
> + if ((get32 && (!!get32(gt, VFID(n)) == provisioned)) ||
> + (get64 && (!!get64(gt, VFID(n)) == provisioned)))
> bitmap_set(bitmap, n, 1);
> }
>
> + pf = test_and_clear_bit(0, bitmap);
> weight = bitmap_weight(bitmap, allvfs);
> - if (!weight)
> + if (!pf && !weight)
> return;
>
> - xe_gt_sriov_info(gt, "VF%s%*pbl %s provisioned with VRAM\n",
> - weight > 1 ? "s " : "", allvfs, bitmap,
> - provisioned ? "already" : "not");
> + xe_gt_sriov_info(gt, "%s%s%s%s%*pbl %s provisioned with %s\n",
> + pf ? "PF" : "", pf && weight ? " and " : "",
> + weight ? "VF" : "", weight > 1 ? "s " : "",
> + allvfs, bitmap, provisioned ? "already" : "not", what);
> +}
> +
> +static void __pf_show_provisioning_lmem(struct xe_gt *gt, unsigned int first_vf,
> + unsigned int num_vfs, bool provisioned)
> +{
> + __pf_show_provisioned(gt, first_vf, num_vfs, provisioned,
> + NULL, pf_get_vf_config_lmem, "VRAM");
> }
>
> static void pf_show_all_provisioned_lmem(struct xe_gt *gt)
LGTM:
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
> --
> 2.47.1
>
--
^ permalink raw reply [flat|nested] 32+ messages in thread
* [PATCH 12/13] drm/xe/pf: Extract helpers for bulk EQ/PT provisioning
2026-03-30 20:40 [PATCH 00/13] drm/xe/pf: Improve EQ/PT provisioning Michal Wajdeczko
` (10 preceding siblings ...)
2026-03-30 20:40 ` [PATCH 11/13] drm/xe/pf: Extract helper to show which VFs are provisioned Michal Wajdeczko
@ 2026-03-30 20:40 ` Michal Wajdeczko
2026-04-02 15:57 ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 13/13] drm/xe/pf: Perform fair scheduling auto-provisioning Michal Wajdeczko
` (3 subsequent siblings)
15 siblings, 1 reply; 32+ messages in thread
From: Michal Wajdeczko @ 2026-03-30 20:40 UTC (permalink / raw)
To: intel-xe; +Cc: Michal Wajdeczko
We already have functions to bulk provision execution quantum and
preemption timeout, but they are applying changes to all possible
VFs, while in upcoming patch we would like to provision only subset
of available VFs.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 66 +++++++++++++---------
1 file changed, 40 insertions(+), 26 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
index 680ea73d1ce3..7f85d6629fec 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
@@ -2193,34 +2193,41 @@ u32 xe_gt_sriov_pf_config_get_exec_quantum(struct xe_gt *gt, unsigned int vfid)
return pf_get_exec_quantum(gt, vfid);
}
-/**
- * xe_gt_sriov_pf_config_bulk_set_exec_quantum_locked() - Configure EQ for PF and VFs.
- * @gt: the &xe_gt to configure
- * @exec_quantum: requested execution quantum in milliseconds (0 is infinity)
- *
- * This function can only be called on PF with the master mutex hold.
- *
- * Return: 0 on success or a negative error code on failure.
- */
-int xe_gt_sriov_pf_config_bulk_set_exec_quantum_locked(struct xe_gt *gt, u32 exec_quantum)
+static int pf_bulk_set_exec_quantum(struct xe_gt *gt, u32 exec_quantum,
+ unsigned int first_vf, unsigned int num_vfs)
{
- unsigned int totalvfs = xe_gt_sriov_pf_get_totalvfs(gt);
unsigned int n;
int err = 0;
lockdep_assert_held(xe_gt_sriov_pf_master_mutex(gt));
- for (n = 0; n <= totalvfs; n++) {
+ for (n = first_vf; n < first_vf + num_vfs; n++) {
err = pf_provision_exec_quantum(gt, VFID(n), exec_quantum);
if (err)
break;
}
- return pf_config_bulk_set_u32_done(gt, 0, 1 + totalvfs, exec_quantum,
+ return pf_config_bulk_set_u32_done(gt, first_vf, num_vfs, exec_quantum,
pf_get_exec_quantum, "execution quantum",
exec_quantum_unit, n, err);
}
+/**
+ * xe_gt_sriov_pf_config_bulk_set_exec_quantum_locked() - Configure EQ for PF and VFs.
+ * @gt: the &xe_gt to configure
+ * @exec_quantum: requested execution quantum in milliseconds (0 is infinity)
+ *
+ * This function can only be called on PF with the master mutex hold.
+ *
+ * Return: 0 on success or a negative error code on failure.
+ */
+int xe_gt_sriov_pf_config_bulk_set_exec_quantum_locked(struct xe_gt *gt, u32 exec_quantum)
+{
+ unsigned int totalvfs = xe_gt_sriov_pf_get_totalvfs(gt);
+
+ return pf_bulk_set_exec_quantum(gt, exec_quantum, PFID, 1 + totalvfs);
+}
+
static int pf_provision_groups_exec_quantums(struct xe_gt *gt, unsigned int vfid,
const u32 *exec_quantums, u32 count)
{
@@ -2418,34 +2425,41 @@ u32 xe_gt_sriov_pf_config_get_preempt_timeout(struct xe_gt *gt, unsigned int vfi
return pf_get_preempt_timeout(gt, vfid);
}
-/**
- * xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked() - Configure PT for PF and VFs.
- * @gt: the &xe_gt to configure
- * @preempt_timeout: requested preemption timeout in microseconds (0 is infinity)
- *
- * This function can only be called on PF with the master mutex hold.
- *
- * Return: 0 on success or a negative error code on failure.
- */
-int xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked(struct xe_gt *gt, u32 preempt_timeout)
+static int pf_bulk_set_preempt_timeout(struct xe_gt *gt, u32 preempt_timeout,
+ unsigned int first_vf, unsigned int num_vfs)
{
- unsigned int totalvfs = xe_gt_sriov_pf_get_totalvfs(gt);
unsigned int n;
int err = 0;
lockdep_assert_held(xe_gt_sriov_pf_master_mutex(gt));
- for (n = 0; n <= totalvfs; n++) {
+ for (n = first_vf; n < first_vf + num_vfs; n++) {
err = pf_provision_preempt_timeout(gt, VFID(n), preempt_timeout);
if (err)
break;
}
- return pf_config_bulk_set_u32_done(gt, 0, 1 + totalvfs, preempt_timeout,
+ return pf_config_bulk_set_u32_done(gt, first_vf, num_vfs, preempt_timeout,
pf_get_preempt_timeout, "preemption timeout",
preempt_timeout_unit, n, err);
}
+/**
+ * xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked() - Configure PT for PF and VFs.
+ * @gt: the &xe_gt to configure
+ * @preempt_timeout: requested preemption timeout in microseconds (0 is infinity)
+ *
+ * This function can only be called on PF with the master mutex hold.
+ *
+ * Return: 0 on success or a negative error code on failure.
+ */
+int xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked(struct xe_gt *gt, u32 preempt_timeout)
+{
+ unsigned int totalvfs = xe_gt_sriov_pf_get_totalvfs(gt);
+
+ return pf_bulk_set_preempt_timeout(gt, preempt_timeout, PFID, 1 + totalvfs);
+}
+
static int pf_provision_groups_preempt_timeouts(struct xe_gt *gt, unsigned int vfid,
const u32 *preempt_timeouts, u32 count)
{
--
2.47.1
^ permalink raw reply related [flat|nested] 32+ messages in thread* Re: [PATCH 12/13] drm/xe/pf: Extract helpers for bulk EQ/PT provisioning
2026-03-30 20:40 ` [PATCH 12/13] drm/xe/pf: Extract helpers for bulk EQ/PT provisioning Michal Wajdeczko
@ 2026-04-02 15:57 ` Piotr Piórkowski
0 siblings, 0 replies; 32+ messages in thread
From: Piotr Piórkowski @ 2026-04-02 15:57 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
Michal Wajdeczko <michal.wajdeczko@intel.com> wrote on pon [2026-mar-30 22:40:43 +0200]:
> We already have functions to bulk provision execution quantum and
> preemption timeout, but they are applying changes to all possible
> VFs, while in upcoming patch we would like to provision only subset
> of available VFs.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> ---
> drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 66 +++++++++++++---------
> 1 file changed, 40 insertions(+), 26 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> index 680ea73d1ce3..7f85d6629fec 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> @@ -2193,34 +2193,41 @@ u32 xe_gt_sriov_pf_config_get_exec_quantum(struct xe_gt *gt, unsigned int vfid)
> return pf_get_exec_quantum(gt, vfid);
> }
>
> -/**
> - * xe_gt_sriov_pf_config_bulk_set_exec_quantum_locked() - Configure EQ for PF and VFs.
> - * @gt: the &xe_gt to configure
> - * @exec_quantum: requested execution quantum in milliseconds (0 is infinity)
> - *
> - * This function can only be called on PF with the master mutex hold.
> - *
> - * Return: 0 on success or a negative error code on failure.
> - */
> -int xe_gt_sriov_pf_config_bulk_set_exec_quantum_locked(struct xe_gt *gt, u32 exec_quantum)
> +static int pf_bulk_set_exec_quantum(struct xe_gt *gt, u32 exec_quantum,
> + unsigned int first_vf, unsigned int num_vfs)
> {
> - unsigned int totalvfs = xe_gt_sriov_pf_get_totalvfs(gt);
> unsigned int n;
> int err = 0;
>
> lockdep_assert_held(xe_gt_sriov_pf_master_mutex(gt));
>
> - for (n = 0; n <= totalvfs; n++) {
> + for (n = first_vf; n < first_vf + num_vfs; n++) {
> err = pf_provision_exec_quantum(gt, VFID(n), exec_quantum);
> if (err)
> break;
> }
>
> - return pf_config_bulk_set_u32_done(gt, 0, 1 + totalvfs, exec_quantum,
> + return pf_config_bulk_set_u32_done(gt, first_vf, num_vfs, exec_quantum,
> pf_get_exec_quantum, "execution quantum",
> exec_quantum_unit, n, err);
> }
>
> +/**
> + * xe_gt_sriov_pf_config_bulk_set_exec_quantum_locked() - Configure EQ for PF and VFs.
> + * @gt: the &xe_gt to configure
> + * @exec_quantum: requested execution quantum in milliseconds (0 is infinity)
> + *
> + * This function can only be called on PF with the master mutex hold.
> + *
> + * Return: 0 on success or a negative error code on failure.
> + */
> +int xe_gt_sriov_pf_config_bulk_set_exec_quantum_locked(struct xe_gt *gt, u32 exec_quantum)
> +{
> + unsigned int totalvfs = xe_gt_sriov_pf_get_totalvfs(gt);
> +
> + return pf_bulk_set_exec_quantum(gt, exec_quantum, PFID, 1 + totalvfs);
> +}
> +
> static int pf_provision_groups_exec_quantums(struct xe_gt *gt, unsigned int vfid,
> const u32 *exec_quantums, u32 count)
> {
> @@ -2418,34 +2425,41 @@ u32 xe_gt_sriov_pf_config_get_preempt_timeout(struct xe_gt *gt, unsigned int vfi
> return pf_get_preempt_timeout(gt, vfid);
> }
>
> -/**
> - * xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked() - Configure PT for PF and VFs.
> - * @gt: the &xe_gt to configure
> - * @preempt_timeout: requested preemption timeout in microseconds (0 is infinity)
> - *
> - * This function can only be called on PF with the master mutex hold.
> - *
> - * Return: 0 on success or a negative error code on failure.
> - */
> -int xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked(struct xe_gt *gt, u32 preempt_timeout)
> +static int pf_bulk_set_preempt_timeout(struct xe_gt *gt, u32 preempt_timeout,
> + unsigned int first_vf, unsigned int num_vfs)
> {
> - unsigned int totalvfs = xe_gt_sriov_pf_get_totalvfs(gt);
> unsigned int n;
> int err = 0;
>
> lockdep_assert_held(xe_gt_sriov_pf_master_mutex(gt));
>
> - for (n = 0; n <= totalvfs; n++) {
> + for (n = first_vf; n < first_vf + num_vfs; n++) {
> err = pf_provision_preempt_timeout(gt, VFID(n), preempt_timeout);
> if (err)
> break;
> }
>
> - return pf_config_bulk_set_u32_done(gt, 0, 1 + totalvfs, preempt_timeout,
> + return pf_config_bulk_set_u32_done(gt, first_vf, num_vfs, preempt_timeout,
> pf_get_preempt_timeout, "preemption timeout",
> preempt_timeout_unit, n, err);
> }
>
> +/**
> + * xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked() - Configure PT for PF and VFs.
> + * @gt: the &xe_gt to configure
> + * @preempt_timeout: requested preemption timeout in microseconds (0 is infinity)
> + *
> + * This function can only be called on PF with the master mutex hold.
> + *
> + * Return: 0 on success or a negative error code on failure.
> + */
> +int xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked(struct xe_gt *gt, u32 preempt_timeout)
> +{
> + unsigned int totalvfs = xe_gt_sriov_pf_get_totalvfs(gt);
> +
> + return pf_bulk_set_preempt_timeout(gt, preempt_timeout, PFID, 1 + totalvfs);
> +}
> +
> static int pf_provision_groups_preempt_timeouts(struct xe_gt *gt, unsigned int vfid,
> const u32 *preempt_timeouts, u32 count)
> {
LGTM:
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
> --
> 2.47.1
>
--
^ permalink raw reply [flat|nested] 32+ messages in thread
* [PATCH 13/13] drm/xe/pf: Perform fair scheduling auto-provisioning
2026-03-30 20:40 [PATCH 00/13] drm/xe/pf: Improve EQ/PT provisioning Michal Wajdeczko
` (11 preceding siblings ...)
2026-03-30 20:40 ` [PATCH 12/13] drm/xe/pf: Extract helpers for bulk EQ/PT provisioning Michal Wajdeczko
@ 2026-03-30 20:40 ` Michal Wajdeczko
2026-04-02 16:06 ` Piotr Piórkowski
2026-03-30 21:09 ` ✓ CI.KUnit: success for drm/xe/pf: Improve EQ/PT provisioning Patchwork
` (2 subsequent siblings)
15 siblings, 1 reply; 32+ messages in thread
From: Michal Wajdeczko @ 2026-03-30 20:40 UTC (permalink / raw)
To: intel-xe; +Cc: Michal Wajdeczko
Default VF scheduling configuration is the same as for the PF and
includes unlimited execution quantum (EQ) and unlimited preemption
timeout (PT). While this setup gives the most flexibility it does
not protect the PF or VFs from other VF that could constantly submit
workloads without any gaps that would let GuC do a VF-switch.
To avoid that, do some trivial auto-provisioning and configure PF
and all VFs with 16ms EQ and PT. This setup should allow GuC to
perform a full round-robin with up to 63 VFs within 2s, which in
turn should match expectations from most of the VMs using VFs.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 85 ++++++++++++++++++++++
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h | 1 +
drivers/gpu/drm/xe/xe_sriov_pf_provision.c | 2 +
3 files changed, 88 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
index 7f85d6629fec..a2babef5e5f0 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
@@ -2661,6 +2661,91 @@ static bool pf_non_default_sched(struct xe_gt *gt, unsigned int vfid)
custom_sched_priority(gt, pf_get_sched_priority(gt, vfid));
}
+static void __pf_show_provisioned_sched(struct xe_gt *gt, unsigned int first_vf,
+ unsigned int num_vfs, bool provisioned)
+{
+ __pf_show_provisioned(gt, first_vf, num_vfs, provisioned,
+ pf_get_exec_quantum, NULL, "EQ");
+ __pf_show_provisioned(gt, first_vf, num_vfs, provisioned,
+ pf_get_preempt_timeout, NULL, "PT");
+
+ /* we only care about non-default priorities */
+ if (provisioned)
+ __pf_show_provisioned(gt, first_vf, num_vfs, true,
+ pf_get_sched_priority, NULL, "PRIORITY");
+}
+
+static void pf_show_all_provisioned_sched(struct xe_gt *gt)
+{
+ __pf_show_provisioned_sched(gt, PFID, 1 + xe_gt_sriov_pf_get_totalvfs(gt), true);
+}
+
+static void pf_show_unprovisioned_sched(struct xe_gt *gt, unsigned int num_vfs)
+{
+ __pf_show_provisioned_sched(gt, PFID, 1 + num_vfs, false);
+}
+
+static bool pf_needs_provision_sched(struct xe_gt *gt, unsigned int num_vfs)
+{
+ unsigned int vfid;
+
+ for (vfid = PFID; vfid < PFID + num_vfs; vfid++) {
+ if (pf_non_default_sched(gt, vfid)) {
+ pf_show_all_provisioned_sched(gt);
+ pf_show_unprovisioned_sched(gt, num_vfs);
+ return false;
+ }
+ }
+
+ pf_show_all_provisioned_sched(gt);
+ return true;
+}
+
+/* With 16ms EQ/PT GuC should be able to handle up to 63 VFs within 2s */
+#define XE_FAIR_EXEC_QUANTUM_MS 16
+#define XE_FAIR_PREEMPT_TIMEOUT_US 16000
+#define XE_FAIR_SCHED_PRIORITY GUC_SCHED_PRIORITY_LOW
+#define XE_ADMIN_PF_SCHED_PRIORITY GUC_SCHED_PRIORITY_HIGH
+
+/**
+ * xe_gt_sriov_pf_config_set_fair_sched() - Provision PF and VFs with fair scheduling.
+ * @gt: the &xe_gt
+ * @num_vfs: number of VFs to provision (can't be 0)
+ *
+ * This function can only be called on PF.
+ *
+ * Return: 0 on success or a negative error code on failure.
+ */
+int xe_gt_sriov_pf_config_set_fair_sched(struct xe_gt *gt, unsigned int num_vfs)
+{
+ int result = 0;
+ int err;
+
+ xe_gt_assert(gt, num_vfs);
+ xe_gt_assert(gt, XE_FAIR_EXEC_QUANTUM_MS);
+ xe_gt_assert(gt, XE_FAIR_PREEMPT_TIMEOUT_US);
+
+ guard(mutex)(xe_gt_sriov_pf_master_mutex(gt));
+
+ if (!pf_needs_provision_sched(gt, num_vfs))
+ return 0;
+
+ err = pf_bulk_set_exec_quantum(gt, XE_FAIR_EXEC_QUANTUM_MS, PFID, 1 + num_vfs);
+ result = result ?: err;
+ err = pf_bulk_set_preempt_timeout(gt, XE_FAIR_PREEMPT_TIMEOUT_US, PFID, 1 + num_vfs);
+ result = result ?: err;
+
+ xe_gt_assert(gt, XE_FAIR_SCHED_PRIORITY == GUC_SCHED_PRIORITY_LOW);
+ xe_gt_assert(gt, !xe_gt_sriov_pf_policy_get_sched_if_idle_locked(gt));
+
+ if (xe_sriov_pf_admin_only(gt_to_xe(gt))) {
+ err = pf_provision_sched_priority(gt, PFID, XE_ADMIN_PF_SCHED_PRIORITY);
+ result = result ?: err;
+ }
+
+ return result;
+}
+
static int pf_provision_threshold(struct xe_gt *gt, unsigned int vfid,
enum xe_guc_klv_threshold_index index, u32 value)
{
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h
index e9314f0a9b4e..2ec62c12ad5c 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h
@@ -78,6 +78,7 @@ u32 xe_gt_sriov_pf_config_get_threshold(struct xe_gt *gt, unsigned int vfid,
int xe_gt_sriov_pf_config_set_threshold(struct xe_gt *gt, unsigned int vfid,
enum xe_guc_klv_threshold_index index, u32 value);
+int xe_gt_sriov_pf_config_set_fair_sched(struct xe_gt *gt, unsigned int num_vfs);
int xe_gt_sriov_pf_config_set_fair(struct xe_gt *gt, unsigned int vfid, unsigned int num_vfs);
int xe_gt_sriov_pf_config_sanitize(struct xe_gt *gt, unsigned int vfid, long timeout);
int xe_gt_sriov_pf_config_release(struct xe_gt *gt, unsigned int vfid, bool force);
diff --git a/drivers/gpu/drm/xe/xe_sriov_pf_provision.c b/drivers/gpu/drm/xe/xe_sriov_pf_provision.c
index e11874d689fa..0ec7ea83f12a 100644
--- a/drivers/gpu/drm/xe/xe_sriov_pf_provision.c
+++ b/drivers/gpu/drm/xe/xe_sriov_pf_provision.c
@@ -41,6 +41,8 @@ static int pf_provision_vfs(struct xe_device *xe, unsigned int num_vfs)
int err;
for_each_gt(gt, xe, id) {
+ err = xe_gt_sriov_pf_config_set_fair_sched(gt, num_vfs);
+ result = result ?: err;
err = xe_gt_sriov_pf_config_set_fair(gt, VFID(1), num_vfs);
result = result ?: err;
}
--
2.47.1
^ permalink raw reply related [flat|nested] 32+ messages in thread* Re: [PATCH 13/13] drm/xe/pf: Perform fair scheduling auto-provisioning
2026-03-30 20:40 ` [PATCH 13/13] drm/xe/pf: Perform fair scheduling auto-provisioning Michal Wajdeczko
@ 2026-04-02 16:06 ` Piotr Piórkowski
0 siblings, 0 replies; 32+ messages in thread
From: Piotr Piórkowski @ 2026-04-02 16:06 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
Michal Wajdeczko <michal.wajdeczko@intel.com> wrote on pon [2026-mar-30 22:40:44 +0200]:
> Default VF scheduling configuration is the same as for the PF and
> includes unlimited execution quantum (EQ) and unlimited preemption
> timeout (PT). While this setup gives the most flexibility it does
> not protect the PF or VFs from other VF that could constantly submit
> workloads without any gaps that would let GuC do a VF-switch.
>
> To avoid that, do some trivial auto-provisioning and configure PF
> and all VFs with 16ms EQ and PT. This setup should allow GuC to
> perform a full round-robin with up to 63 VFs within 2s, which in
> turn should match expectations from most of the VMs using VFs.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> ---
> drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 85 ++++++++++++++++++++++
> drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h | 1 +
> drivers/gpu/drm/xe/xe_sriov_pf_provision.c | 2 +
> 3 files changed, 88 insertions(+)
>
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> index 7f85d6629fec..a2babef5e5f0 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> @@ -2661,6 +2661,91 @@ static bool pf_non_default_sched(struct xe_gt *gt, unsigned int vfid)
> custom_sched_priority(gt, pf_get_sched_priority(gt, vfid));
> }
>
> +static void __pf_show_provisioned_sched(struct xe_gt *gt, unsigned int first_vf,
> + unsigned int num_vfs, bool provisioned)
> +{
> + __pf_show_provisioned(gt, first_vf, num_vfs, provisioned,
> + pf_get_exec_quantum, NULL, "EQ");
> + __pf_show_provisioned(gt, first_vf, num_vfs, provisioned,
> + pf_get_preempt_timeout, NULL, "PT");
> +
> + /* we only care about non-default priorities */
> + if (provisioned)
> + __pf_show_provisioned(gt, first_vf, num_vfs, true,
> + pf_get_sched_priority, NULL, "PRIORITY");
> +}
> +
> +static void pf_show_all_provisioned_sched(struct xe_gt *gt)
> +{
> + __pf_show_provisioned_sched(gt, PFID, 1 + xe_gt_sriov_pf_get_totalvfs(gt), true);
> +}
> +
> +static void pf_show_unprovisioned_sched(struct xe_gt *gt, unsigned int num_vfs)
> +{
> + __pf_show_provisioned_sched(gt, PFID, 1 + num_vfs, false);
> +}
> +
> +static bool pf_needs_provision_sched(struct xe_gt *gt, unsigned int num_vfs)
> +{
> + unsigned int vfid;
> +
> + for (vfid = PFID; vfid < PFID + num_vfs; vfid++) {
> + if (pf_non_default_sched(gt, vfid)) {
> + pf_show_all_provisioned_sched(gt);
> + pf_show_unprovisioned_sched(gt, num_vfs);
> + return false;
> + }
> + }
> +
> + pf_show_all_provisioned_sched(gt);
> + return true;
> +}
> +
> +/* With 16ms EQ/PT GuC should be able to handle up to 63 VFs within 2s */
> +#define XE_FAIR_EXEC_QUANTUM_MS 16
> +#define XE_FAIR_PREEMPT_TIMEOUT_US 16000
> +#define XE_FAIR_SCHED_PRIORITY GUC_SCHED_PRIORITY_LOW
> +#define XE_ADMIN_PF_SCHED_PRIORITY GUC_SCHED_PRIORITY_HIGH
> +
> +/**
> + * xe_gt_sriov_pf_config_set_fair_sched() - Provision PF and VFs with fair scheduling.
> + * @gt: the &xe_gt
> + * @num_vfs: number of VFs to provision (can't be 0)
> + *
> + * This function can only be called on PF.
> + *
> + * Return: 0 on success or a negative error code on failure.
> + */
> +int xe_gt_sriov_pf_config_set_fair_sched(struct xe_gt *gt, unsigned int num_vfs)
> +{
> + int result = 0;
> + int err;
> +
> + xe_gt_assert(gt, num_vfs);
> + xe_gt_assert(gt, XE_FAIR_EXEC_QUANTUM_MS);
> + xe_gt_assert(gt, XE_FAIR_PREEMPT_TIMEOUT_US);
> +
> + guard(mutex)(xe_gt_sriov_pf_master_mutex(gt));
> +
> + if (!pf_needs_provision_sched(gt, num_vfs))
> + return 0;
> +
> + err = pf_bulk_set_exec_quantum(gt, XE_FAIR_EXEC_QUANTUM_MS, PFID, 1 + num_vfs);
> + result = result ?: err;
> + err = pf_bulk_set_preempt_timeout(gt, XE_FAIR_PREEMPT_TIMEOUT_US, PFID, 1 + num_vfs);
> + result = result ?: err;
> +
> + xe_gt_assert(gt, XE_FAIR_SCHED_PRIORITY == GUC_SCHED_PRIORITY_LOW);
> + xe_gt_assert(gt, !xe_gt_sriov_pf_policy_get_sched_if_idle_locked(gt));
> +
> + if (xe_sriov_pf_admin_only(gt_to_xe(gt))) {
> + err = pf_provision_sched_priority(gt, PFID, XE_ADMIN_PF_SCHED_PRIORITY);
> + result = result ?: err;
> + }
> +
> + return result;
> +}
> +
> static int pf_provision_threshold(struct xe_gt *gt, unsigned int vfid,
> enum xe_guc_klv_threshold_index index, u32 value)
> {
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h
> index e9314f0a9b4e..2ec62c12ad5c 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h
> @@ -78,6 +78,7 @@ u32 xe_gt_sriov_pf_config_get_threshold(struct xe_gt *gt, unsigned int vfid,
> int xe_gt_sriov_pf_config_set_threshold(struct xe_gt *gt, unsigned int vfid,
> enum xe_guc_klv_threshold_index index, u32 value);
>
> +int xe_gt_sriov_pf_config_set_fair_sched(struct xe_gt *gt, unsigned int num_vfs);
> int xe_gt_sriov_pf_config_set_fair(struct xe_gt *gt, unsigned int vfid, unsigned int num_vfs);
> int xe_gt_sriov_pf_config_sanitize(struct xe_gt *gt, unsigned int vfid, long timeout);
> int xe_gt_sriov_pf_config_release(struct xe_gt *gt, unsigned int vfid, bool force);
> diff --git a/drivers/gpu/drm/xe/xe_sriov_pf_provision.c b/drivers/gpu/drm/xe/xe_sriov_pf_provision.c
> index e11874d689fa..0ec7ea83f12a 100644
> --- a/drivers/gpu/drm/xe/xe_sriov_pf_provision.c
> +++ b/drivers/gpu/drm/xe/xe_sriov_pf_provision.c
> @@ -41,6 +41,8 @@ static int pf_provision_vfs(struct xe_device *xe, unsigned int num_vfs)
> int err;
>
> for_each_gt(gt, xe, id) {
> + err = xe_gt_sriov_pf_config_set_fair_sched(gt, num_vfs);
> + result = result ?: err;
> err = xe_gt_sriov_pf_config_set_fair(gt, VFID(1), num_vfs);
> result = result ?: err;
> }
LGTM:
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
> --
> 2.47.1
>
--
^ permalink raw reply [flat|nested] 32+ messages in thread
* ✓ CI.KUnit: success for drm/xe/pf: Improve EQ/PT provisioning
2026-03-30 20:40 [PATCH 00/13] drm/xe/pf: Improve EQ/PT provisioning Michal Wajdeczko
` (12 preceding siblings ...)
2026-03-30 20:40 ` [PATCH 13/13] drm/xe/pf: Perform fair scheduling auto-provisioning Michal Wajdeczko
@ 2026-03-30 21:09 ` Patchwork
2026-03-30 21:41 ` ✓ Xe.CI.BAT: " Patchwork
2026-03-31 0:28 ` ✗ Xe.CI.FULL: failure " Patchwork
15 siblings, 0 replies; 32+ messages in thread
From: Patchwork @ 2026-03-30 21:09 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
== Series Details ==
Series: drm/xe/pf: Improve EQ/PT provisioning
URL : https://patchwork.freedesktop.org/series/164119/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[21:08:01] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[21:08:06] 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
[21:08:36] Starting KUnit Kernel (1/1)...
[21:08:36] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[21:08:37] ================== guc_buf (11 subtests) ===================
[21:08:37] [PASSED] test_smallest
[21:08:37] [PASSED] test_largest
[21:08:37] [PASSED] test_granular
[21:08:37] [PASSED] test_unique
[21:08:37] [PASSED] test_overlap
[21:08:37] [PASSED] test_reusable
[21:08:37] [PASSED] test_too_big
[21:08:37] [PASSED] test_flush
[21:08:37] [PASSED] test_lookup
[21:08:37] [PASSED] test_data
[21:08:37] [PASSED] test_class
[21:08:37] ===================== [PASSED] guc_buf =====================
[21:08:37] =================== guc_dbm (7 subtests) ===================
[21:08:37] [PASSED] test_empty
[21:08:37] [PASSED] test_default
[21:08:37] ======================== test_size ========================
[21:08:37] [PASSED] 4
[21:08:37] [PASSED] 8
[21:08:37] [PASSED] 32
[21:08:37] [PASSED] 256
[21:08:37] ==================== [PASSED] test_size ====================
[21:08:37] ======================= test_reuse ========================
[21:08:37] [PASSED] 4
[21:08:37] [PASSED] 8
[21:08:37] [PASSED] 32
[21:08:37] [PASSED] 256
[21:08:37] =================== [PASSED] test_reuse ====================
[21:08:37] =================== test_range_overlap ====================
[21:08:37] [PASSED] 4
[21:08:37] [PASSED] 8
[21:08:37] [PASSED] 32
[21:08:37] [PASSED] 256
[21:08:37] =============== [PASSED] test_range_overlap ================
[21:08:37] =================== test_range_compact ====================
[21:08:37] [PASSED] 4
[21:08:37] [PASSED] 8
[21:08:37] [PASSED] 32
[21:08:37] [PASSED] 256
[21:08:37] =============== [PASSED] test_range_compact ================
[21:08:37] ==================== test_range_spare =====================
[21:08:37] [PASSED] 4
[21:08:37] [PASSED] 8
[21:08:37] [PASSED] 32
[21:08:37] [PASSED] 256
[21:08:37] ================ [PASSED] test_range_spare =================
[21:08:37] ===================== [PASSED] guc_dbm =====================
[21:08:37] =================== guc_idm (6 subtests) ===================
[21:08:37] [PASSED] bad_init
[21:08:37] [PASSED] no_init
[21:08:37] [PASSED] init_fini
[21:08:37] [PASSED] check_used
[21:08:37] [PASSED] check_quota
[21:08:37] [PASSED] check_all
[21:08:37] ===================== [PASSED] guc_idm =====================
[21:08:37] ================== no_relay (3 subtests) ===================
[21:08:37] [PASSED] xe_drops_guc2pf_if_not_ready
[21:08:37] [PASSED] xe_drops_guc2vf_if_not_ready
[21:08:37] [PASSED] xe_rejects_send_if_not_ready
[21:08:37] ==================== [PASSED] no_relay =====================
[21:08:37] ================== pf_relay (14 subtests) ==================
[21:08:37] [PASSED] pf_rejects_guc2pf_too_short
[21:08:37] [PASSED] pf_rejects_guc2pf_too_long
[21:08:37] [PASSED] pf_rejects_guc2pf_no_payload
[21:08:37] [PASSED] pf_fails_no_payload
[21:08:37] [PASSED] pf_fails_bad_origin
[21:08:37] [PASSED] pf_fails_bad_type
[21:08:37] [PASSED] pf_txn_reports_error
[21:08:37] [PASSED] pf_txn_sends_pf2guc
[21:08:37] [PASSED] pf_sends_pf2guc
[21:08:37] [SKIPPED] pf_loopback_nop
[21:08:37] [SKIPPED] pf_loopback_echo
[21:08:37] [SKIPPED] pf_loopback_fail
[21:08:37] [SKIPPED] pf_loopback_busy
[21:08:37] [SKIPPED] pf_loopback_retry
[21:08:37] ==================== [PASSED] pf_relay =====================
[21:08:37] ================== vf_relay (3 subtests) ===================
[21:08:37] [PASSED] vf_rejects_guc2vf_too_short
[21:08:37] [PASSED] vf_rejects_guc2vf_too_long
[21:08:37] [PASSED] vf_rejects_guc2vf_no_payload
[21:08:37] ==================== [PASSED] vf_relay =====================
[21:08:37] ================ pf_gt_config (9 subtests) =================
[21:08:37] [PASSED] fair_contexts_1vf
[21:08:37] [PASSED] fair_doorbells_1vf
[21:08:37] [PASSED] fair_ggtt_1vf
[21:08:37] ====================== fair_vram_1vf ======================
[21:08:37] [PASSED] 3.50 GiB
[21:08:37] [PASSED] 11.5 GiB
[21:08:37] [PASSED] 15.5 GiB
[21:08:37] [PASSED] 31.5 GiB
[21:08:37] [PASSED] 63.5 GiB
[21:08:37] [PASSED] 1.91 GiB
[21:08:37] ================== [PASSED] fair_vram_1vf ==================
[21:08:37] ================ fair_vram_1vf_admin_only =================
[21:08:37] [PASSED] 3.50 GiB
[21:08:37] [PASSED] 11.5 GiB
[21:08:37] [PASSED] 15.5 GiB
[21:08:37] [PASSED] 31.5 GiB
[21:08:37] [PASSED] 63.5 GiB
[21:08:37] [PASSED] 1.91 GiB
[21:08:37] ============ [PASSED] fair_vram_1vf_admin_only =============
[21:08:37] ====================== fair_contexts ======================
[21:08:37] [PASSED] 1 VF
[21:08:37] [PASSED] 2 VFs
[21:08:37] [PASSED] 3 VFs
[21:08:37] [PASSED] 4 VFs
[21:08:37] [PASSED] 5 VFs
[21:08:37] [PASSED] 6 VFs
[21:08:37] [PASSED] 7 VFs
[21:08:37] [PASSED] 8 VFs
[21:08:37] [PASSED] 9 VFs
[21:08:37] [PASSED] 10 VFs
[21:08:37] [PASSED] 11 VFs
[21:08:37] [PASSED] 12 VFs
[21:08:37] [PASSED] 13 VFs
[21:08:37] [PASSED] 14 VFs
[21:08:37] [PASSED] 15 VFs
[21:08:37] [PASSED] 16 VFs
[21:08:37] [PASSED] 17 VFs
[21:08:37] [PASSED] 18 VFs
[21:08:37] [PASSED] 19 VFs
[21:08:37] [PASSED] 20 VFs
[21:08:37] [PASSED] 21 VFs
[21:08:37] [PASSED] 22 VFs
[21:08:37] [PASSED] 23 VFs
[21:08:37] [PASSED] 24 VFs
[21:08:37] [PASSED] 25 VFs
[21:08:37] [PASSED] 26 VFs
[21:08:37] [PASSED] 27 VFs
[21:08:37] [PASSED] 28 VFs
[21:08:37] [PASSED] 29 VFs
[21:08:37] [PASSED] 30 VFs
[21:08:37] [PASSED] 31 VFs
[21:08:37] [PASSED] 32 VFs
[21:08:37] [PASSED] 33 VFs
[21:08:37] [PASSED] 34 VFs
[21:08:37] [PASSED] 35 VFs
[21:08:37] [PASSED] 36 VFs
[21:08:37] [PASSED] 37 VFs
[21:08:37] [PASSED] 38 VFs
[21:08:37] [PASSED] 39 VFs
[21:08:37] [PASSED] 40 VFs
[21:08:37] [PASSED] 41 VFs
[21:08:37] [PASSED] 42 VFs
[21:08:37] [PASSED] 43 VFs
[21:08:37] [PASSED] 44 VFs
[21:08:37] [PASSED] 45 VFs
[21:08:37] [PASSED] 46 VFs
[21:08:37] [PASSED] 47 VFs
[21:08:37] [PASSED] 48 VFs
[21:08:37] [PASSED] 49 VFs
[21:08:37] [PASSED] 50 VFs
[21:08:37] [PASSED] 51 VFs
[21:08:37] [PASSED] 52 VFs
[21:08:37] [PASSED] 53 VFs
[21:08:37] [PASSED] 54 VFs
[21:08:37] [PASSED] 55 VFs
[21:08:37] [PASSED] 56 VFs
[21:08:37] [PASSED] 57 VFs
[21:08:37] [PASSED] 58 VFs
[21:08:37] [PASSED] 59 VFs
[21:08:37] [PASSED] 60 VFs
[21:08:37] [PASSED] 61 VFs
[21:08:37] [PASSED] 62 VFs
[21:08:37] [PASSED] 63 VFs
[21:08:37] ================== [PASSED] fair_contexts ==================
[21:08:37] ===================== fair_doorbells ======================
[21:08:37] [PASSED] 1 VF
[21:08:37] [PASSED] 2 VFs
[21:08:37] [PASSED] 3 VFs
[21:08:37] [PASSED] 4 VFs
[21:08:37] [PASSED] 5 VFs
[21:08:37] [PASSED] 6 VFs
[21:08:37] [PASSED] 7 VFs
[21:08:37] [PASSED] 8 VFs
[21:08:37] [PASSED] 9 VFs
[21:08:37] [PASSED] 10 VFs
[21:08:37] [PASSED] 11 VFs
[21:08:37] [PASSED] 12 VFs
[21:08:37] [PASSED] 13 VFs
[21:08:37] [PASSED] 14 VFs
[21:08:37] [PASSED] 15 VFs
[21:08:37] [PASSED] 16 VFs
[21:08:37] [PASSED] 17 VFs
[21:08:37] [PASSED] 18 VFs
[21:08:37] [PASSED] 19 VFs
[21:08:37] [PASSED] 20 VFs
[21:08:37] [PASSED] 21 VFs
[21:08:37] [PASSED] 22 VFs
[21:08:37] [PASSED] 23 VFs
[21:08:37] [PASSED] 24 VFs
[21:08:37] [PASSED] 25 VFs
[21:08:37] [PASSED] 26 VFs
[21:08:37] [PASSED] 27 VFs
[21:08:37] [PASSED] 28 VFs
[21:08:37] [PASSED] 29 VFs
[21:08:37] [PASSED] 30 VFs
[21:08:37] [PASSED] 31 VFs
[21:08:37] [PASSED] 32 VFs
[21:08:37] [PASSED] 33 VFs
[21:08:37] [PASSED] 34 VFs
[21:08:37] [PASSED] 35 VFs
[21:08:37] [PASSED] 36 VFs
[21:08:37] [PASSED] 37 VFs
[21:08:37] [PASSED] 38 VFs
[21:08:37] [PASSED] 39 VFs
[21:08:37] [PASSED] 40 VFs
[21:08:37] [PASSED] 41 VFs
[21:08:37] [PASSED] 42 VFs
[21:08:37] [PASSED] 43 VFs
[21:08:37] [PASSED] 44 VFs
[21:08:37] [PASSED] 45 VFs
[21:08:37] [PASSED] 46 VFs
[21:08:37] [PASSED] 47 VFs
[21:08:37] [PASSED] 48 VFs
[21:08:37] [PASSED] 49 VFs
[21:08:37] [PASSED] 50 VFs
[21:08:37] [PASSED] 51 VFs
[21:08:37] [PASSED] 52 VFs
[21:08:37] [PASSED] 53 VFs
[21:08:37] [PASSED] 54 VFs
[21:08:37] [PASSED] 55 VFs
[21:08:37] [PASSED] 56 VFs
[21:08:37] [PASSED] 57 VFs
[21:08:37] [PASSED] 58 VFs
[21:08:37] [PASSED] 59 VFs
[21:08:37] [PASSED] 60 VFs
[21:08:37] [PASSED] 61 VFs
[21:08:37] [PASSED] 62 VFs
[21:08:37] [PASSED] 63 VFs
[21:08:37] ================= [PASSED] fair_doorbells ==================
[21:08:37] ======================== fair_ggtt ========================
[21:08:37] [PASSED] 1 VF
[21:08:37] [PASSED] 2 VFs
[21:08:37] [PASSED] 3 VFs
[21:08:37] [PASSED] 4 VFs
[21:08:37] [PASSED] 5 VFs
[21:08:37] [PASSED] 6 VFs
[21:08:37] [PASSED] 7 VFs
[21:08:37] [PASSED] 8 VFs
[21:08:37] [PASSED] 9 VFs
[21:08:37] [PASSED] 10 VFs
[21:08:37] [PASSED] 11 VFs
[21:08:37] [PASSED] 12 VFs
[21:08:37] [PASSED] 13 VFs
[21:08:37] [PASSED] 14 VFs
[21:08:37] [PASSED] 15 VFs
[21:08:37] [PASSED] 16 VFs
[21:08:37] [PASSED] 17 VFs
[21:08:37] [PASSED] 18 VFs
[21:08:37] [PASSED] 19 VFs
[21:08:37] [PASSED] 20 VFs
[21:08:37] [PASSED] 21 VFs
[21:08:37] [PASSED] 22 VFs
[21:08:37] [PASSED] 23 VFs
[21:08:37] [PASSED] 24 VFs
[21:08:37] [PASSED] 25 VFs
[21:08:37] [PASSED] 26 VFs
[21:08:37] [PASSED] 27 VFs
[21:08:37] [PASSED] 28 VFs
[21:08:37] [PASSED] 29 VFs
[21:08:37] [PASSED] 30 VFs
[21:08:37] [PASSED] 31 VFs
[21:08:37] [PASSED] 32 VFs
[21:08:37] [PASSED] 33 VFs
[21:08:37] [PASSED] 34 VFs
[21:08:37] [PASSED] 35 VFs
[21:08:37] [PASSED] 36 VFs
[21:08:37] [PASSED] 37 VFs
[21:08:37] [PASSED] 38 VFs
[21:08:37] [PASSED] 39 VFs
[21:08:37] [PASSED] 40 VFs
[21:08:37] [PASSED] 41 VFs
[21:08:37] [PASSED] 42 VFs
[21:08:37] [PASSED] 43 VFs
[21:08:37] [PASSED] 44 VFs
[21:08:37] [PASSED] 45 VFs
[21:08:37] [PASSED] 46 VFs
[21:08:37] [PASSED] 47 VFs
[21:08:37] [PASSED] 48 VFs
[21:08:37] [PASSED] 49 VFs
[21:08:37] [PASSED] 50 VFs
[21:08:37] [PASSED] 51 VFs
[21:08:37] [PASSED] 52 VFs
[21:08:37] [PASSED] 53 VFs
[21:08:37] [PASSED] 54 VFs
[21:08:37] [PASSED] 55 VFs
[21:08:37] [PASSED] 56 VFs
[21:08:37] [PASSED] 57 VFs
[21:08:37] [PASSED] 58 VFs
[21:08:37] [PASSED] 59 VFs
[21:08:37] [PASSED] 60 VFs
[21:08:37] [PASSED] 61 VFs
[21:08:37] [PASSED] 62 VFs
[21:08:37] [PASSED] 63 VFs
[21:08:37] ==================== [PASSED] fair_ggtt ====================
[21:08:37] ======================== fair_vram ========================
[21:08:37] [PASSED] 1 VF
[21:08:37] [PASSED] 2 VFs
[21:08:37] [PASSED] 3 VFs
[21:08:37] [PASSED] 4 VFs
[21:08:37] [PASSED] 5 VFs
[21:08:37] [PASSED] 6 VFs
[21:08:37] [PASSED] 7 VFs
[21:08:37] [PASSED] 8 VFs
[21:08:37] [PASSED] 9 VFs
[21:08:37] [PASSED] 10 VFs
[21:08:37] [PASSED] 11 VFs
[21:08:37] [PASSED] 12 VFs
[21:08:37] [PASSED] 13 VFs
[21:08:37] [PASSED] 14 VFs
[21:08:37] [PASSED] 15 VFs
[21:08:37] [PASSED] 16 VFs
[21:08:37] [PASSED] 17 VFs
[21:08:37] [PASSED] 18 VFs
[21:08:37] [PASSED] 19 VFs
[21:08:37] [PASSED] 20 VFs
[21:08:37] [PASSED] 21 VFs
[21:08:37] [PASSED] 22 VFs
[21:08:37] [PASSED] 23 VFs
[21:08:37] [PASSED] 24 VFs
[21:08:37] [PASSED] 25 VFs
[21:08:37] [PASSED] 26 VFs
[21:08:37] [PASSED] 27 VFs
[21:08:37] [PASSED] 28 VFs
[21:08:37] [PASSED] 29 VFs
[21:08:37] [PASSED] 30 VFs
[21:08:37] [PASSED] 31 VFs
[21:08:37] [PASSED] 32 VFs
[21:08:37] [PASSED] 33 VFs
[21:08:37] [PASSED] 34 VFs
[21:08:37] [PASSED] 35 VFs
[21:08:37] [PASSED] 36 VFs
[21:08:37] [PASSED] 37 VFs
[21:08:37] [PASSED] 38 VFs
[21:08:37] [PASSED] 39 VFs
[21:08:37] [PASSED] 40 VFs
[21:08:37] [PASSED] 41 VFs
[21:08:37] [PASSED] 42 VFs
[21:08:37] [PASSED] 43 VFs
[21:08:37] [PASSED] 44 VFs
[21:08:37] [PASSED] 45 VFs
[21:08:37] [PASSED] 46 VFs
[21:08:37] [PASSED] 47 VFs
[21:08:37] [PASSED] 48 VFs
[21:08:37] [PASSED] 49 VFs
[21:08:37] [PASSED] 50 VFs
[21:08:37] [PASSED] 51 VFs
[21:08:37] [PASSED] 52 VFs
[21:08:37] [PASSED] 53 VFs
[21:08:37] [PASSED] 54 VFs
[21:08:37] [PASSED] 55 VFs
[21:08:37] [PASSED] 56 VFs
[21:08:37] [PASSED] 57 VFs
[21:08:37] [PASSED] 58 VFs
[21:08:37] [PASSED] 59 VFs
[21:08:37] [PASSED] 60 VFs
[21:08:37] [PASSED] 61 VFs
[21:08:37] [PASSED] 62 VFs
[21:08:37] [PASSED] 63 VFs
[21:08:37] ==================== [PASSED] fair_vram ====================
[21:08:37] ================== [PASSED] pf_gt_config ===================
[21:08:37] ===================== lmtt (1 subtest) =====================
[21:08:37] ======================== test_ops =========================
[21:08:37] [PASSED] 2-level
[21:08:37] [PASSED] multi-level
[21:08:37] ==================== [PASSED] test_ops =====================
[21:08:37] ====================== [PASSED] lmtt =======================
[21:08:37] ================= pf_service (11 subtests) =================
[21:08:37] [PASSED] pf_negotiate_any
[21:08:37] [PASSED] pf_negotiate_base_match
[21:08:37] [PASSED] pf_negotiate_base_newer
[21:08:37] [PASSED] pf_negotiate_base_next
[21:08:37] [SKIPPED] pf_negotiate_base_older
[21:08:37] [PASSED] pf_negotiate_base_prev
[21:08:37] [PASSED] pf_negotiate_latest_match
[21:08:37] [PASSED] pf_negotiate_latest_newer
[21:08:37] [PASSED] pf_negotiate_latest_next
[21:08:37] [SKIPPED] pf_negotiate_latest_older
[21:08:37] [SKIPPED] pf_negotiate_latest_prev
[21:08:37] =================== [PASSED] pf_service ====================
[21:08:37] ================= xe_guc_g2g (2 subtests) ==================
[21:08:37] ============== xe_live_guc_g2g_kunit_default ==============
[21:08:37] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[21:08:37] ============== xe_live_guc_g2g_kunit_allmem ===============
[21:08:37] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[21:08:37] =================== [SKIPPED] xe_guc_g2g ===================
[21:08:37] =================== xe_mocs (2 subtests) ===================
[21:08:37] ================ xe_live_mocs_kernel_kunit ================
[21:08:37] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[21:08:37] ================ xe_live_mocs_reset_kunit =================
[21:08:37] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[21:08:37] ==================== [SKIPPED] xe_mocs =====================
[21:08:37] ================= xe_migrate (2 subtests) ==================
[21:08:37] ================= xe_migrate_sanity_kunit =================
[21:08:37] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[21:08:37] ================== xe_validate_ccs_kunit ==================
[21:08:37] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[21:08:37] =================== [SKIPPED] xe_migrate ===================
[21:08:37] ================== xe_dma_buf (1 subtest) ==================
[21:08:37] ==================== xe_dma_buf_kunit =====================
[21:08:37] ================ [SKIPPED] xe_dma_buf_kunit ================
[21:08:37] =================== [SKIPPED] xe_dma_buf ===================
[21:08:37] ================= xe_bo_shrink (1 subtest) =================
[21:08:37] =================== xe_bo_shrink_kunit ====================
[21:08:37] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[21:08:37] ================== [SKIPPED] xe_bo_shrink ==================
[21:08:37] ==================== xe_bo (2 subtests) ====================
[21:08:37] ================== xe_ccs_migrate_kunit ===================
[21:08:37] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[21:08:37] ==================== xe_bo_evict_kunit ====================
[21:08:37] =============== [SKIPPED] xe_bo_evict_kunit ================
[21:08:37] ===================== [SKIPPED] xe_bo ======================
[21:08:37] ==================== args (13 subtests) ====================
[21:08:37] [PASSED] count_args_test
[21:08:37] [PASSED] call_args_example
[21:08:37] [PASSED] call_args_test
[21:08:37] [PASSED] drop_first_arg_example
[21:08:37] [PASSED] drop_first_arg_test
[21:08:37] [PASSED] first_arg_example
[21:08:37] [PASSED] first_arg_test
[21:08:37] [PASSED] last_arg_example
[21:08:37] [PASSED] last_arg_test
[21:08:37] [PASSED] pick_arg_example
[21:08:37] [PASSED] if_args_example
[21:08:37] [PASSED] if_args_test
[21:08:37] [PASSED] sep_comma_example
[21:08:37] ====================== [PASSED] args =======================
[21:08:37] =================== xe_pci (3 subtests) ====================
[21:08:37] ==================== check_graphics_ip ====================
[21:08:37] [PASSED] 12.00 Xe_LP
[21:08:37] [PASSED] 12.10 Xe_LP+
[21:08:37] [PASSED] 12.55 Xe_HPG
[21:08:37] [PASSED] 12.60 Xe_HPC
[21:08:37] [PASSED] 12.70 Xe_LPG
[21:08:37] [PASSED] 12.71 Xe_LPG
[21:08:37] [PASSED] 12.74 Xe_LPG+
[21:08:37] [PASSED] 20.01 Xe2_HPG
[21:08:37] [PASSED] 20.02 Xe2_HPG
[21:08:37] [PASSED] 20.04 Xe2_LPG
[21:08:37] [PASSED] 30.00 Xe3_LPG
[21:08:37] [PASSED] 30.01 Xe3_LPG
[21:08:37] [PASSED] 30.03 Xe3_LPG
[21:08:37] [PASSED] 30.04 Xe3_LPG
[21:08:37] [PASSED] 30.05 Xe3_LPG
[21:08:37] [PASSED] 35.10 Xe3p_LPG
[21:08:37] [PASSED] 35.11 Xe3p_XPC
[21:08:37] ================ [PASSED] check_graphics_ip ================
[21:08:37] ===================== check_media_ip ======================
[21:08:37] [PASSED] 12.00 Xe_M
[21:08:37] [PASSED] 12.55 Xe_HPM
[21:08:37] [PASSED] 13.00 Xe_LPM+
[21:08:37] [PASSED] 13.01 Xe2_HPM
[21:08:37] [PASSED] 20.00 Xe2_LPM
[21:08:37] [PASSED] 30.00 Xe3_LPM
[21:08:37] [PASSED] 30.02 Xe3_LPM
[21:08:37] [PASSED] 35.00 Xe3p_LPM
[21:08:37] [PASSED] 35.03 Xe3p_HPM
[21:08:37] ================= [PASSED] check_media_ip ==================
[21:08:37] =================== check_platform_desc ===================
[21:08:37] [PASSED] 0x9A60 (TIGERLAKE)
[21:08:37] [PASSED] 0x9A68 (TIGERLAKE)
[21:08:37] [PASSED] 0x9A70 (TIGERLAKE)
[21:08:37] [PASSED] 0x9A40 (TIGERLAKE)
[21:08:37] [PASSED] 0x9A49 (TIGERLAKE)
[21:08:37] [PASSED] 0x9A59 (TIGERLAKE)
[21:08:37] [PASSED] 0x9A78 (TIGERLAKE)
[21:08:37] [PASSED] 0x9AC0 (TIGERLAKE)
[21:08:37] [PASSED] 0x9AC9 (TIGERLAKE)
[21:08:37] [PASSED] 0x9AD9 (TIGERLAKE)
[21:08:37] [PASSED] 0x9AF8 (TIGERLAKE)
[21:08:37] [PASSED] 0x4C80 (ROCKETLAKE)
[21:08:37] [PASSED] 0x4C8A (ROCKETLAKE)
[21:08:37] [PASSED] 0x4C8B (ROCKETLAKE)
[21:08:37] [PASSED] 0x4C8C (ROCKETLAKE)
[21:08:37] [PASSED] 0x4C90 (ROCKETLAKE)
[21:08:37] [PASSED] 0x4C9A (ROCKETLAKE)
[21:08:37] [PASSED] 0x4680 (ALDERLAKE_S)
[21:08:37] [PASSED] 0x4682 (ALDERLAKE_S)
[21:08:37] [PASSED] 0x4688 (ALDERLAKE_S)
[21:08:37] [PASSED] 0x468A (ALDERLAKE_S)
[21:08:37] [PASSED] 0x468B (ALDERLAKE_S)
[21:08:37] [PASSED] 0x4690 (ALDERLAKE_S)
[21:08:37] [PASSED] 0x4692 (ALDERLAKE_S)
[21:08:37] [PASSED] 0x4693 (ALDERLAKE_S)
[21:08:37] [PASSED] 0x46A0 (ALDERLAKE_P)
[21:08:37] [PASSED] 0x46A1 (ALDERLAKE_P)
[21:08:37] [PASSED] 0x46A2 (ALDERLAKE_P)
[21:08:37] [PASSED] 0x46A3 (ALDERLAKE_P)
[21:08:37] [PASSED] 0x46A6 (ALDERLAKE_P)
[21:08:37] [PASSED] 0x46A8 (ALDERLAKE_P)
[21:08:37] [PASSED] 0x46AA (ALDERLAKE_P)
[21:08:37] [PASSED] 0x462A (ALDERLAKE_P)
[21:08:37] [PASSED] 0x4626 (ALDERLAKE_P)
[21:08:37] [PASSED] 0x4628 (ALDERLAKE_P)
[21:08:37] [PASSED] 0x46B0 (ALDERLAKE_P)
[21:08:37] [PASSED] 0x46B1 (ALDERLAKE_P)
[21:08:37] [PASSED] 0x46B2 (ALDERLAKE_P)
[21:08:37] [PASSED] 0x46B3 (ALDERLAKE_P)
[21:08:37] [PASSED] 0x46C0 (ALDERLAKE_P)
[21:08:37] [PASSED] 0x46C1 (ALDERLAKE_P)
[21:08:37] [PASSED] 0x46C2 (ALDERLAKE_P)
[21:08:37] [PASSED] 0x46C3 (ALDERLAKE_P)
[21:08:37] [PASSED] 0x46D0 (ALDERLAKE_N)
[21:08:37] [PASSED] 0x46D1 (ALDERLAKE_N)
[21:08:37] [PASSED] 0x46D2 (ALDERLAKE_N)
[21:08:37] [PASSED] 0x46D3 (ALDERLAKE_N)
[21:08:37] [PASSED] 0x46D4 (ALDERLAKE_N)
[21:08:37] [PASSED] 0xA721 (ALDERLAKE_P)
[21:08:37] [PASSED] 0xA7A1 (ALDERLAKE_P)
[21:08:37] [PASSED] 0xA7A9 (ALDERLAKE_P)
[21:08:37] [PASSED] 0xA7AC (ALDERLAKE_P)
[21:08:37] [PASSED] 0xA7AD (ALDERLAKE_P)
[21:08:37] [PASSED] 0xA720 (ALDERLAKE_P)
[21:08:37] [PASSED] 0xA7A0 (ALDERLAKE_P)
[21:08:37] [PASSED] 0xA7A8 (ALDERLAKE_P)
[21:08:37] [PASSED] 0xA7AA (ALDERLAKE_P)
[21:08:37] [PASSED] 0xA7AB (ALDERLAKE_P)
[21:08:37] [PASSED] 0xA780 (ALDERLAKE_S)
[21:08:37] [PASSED] 0xA781 (ALDERLAKE_S)
[21:08:37] [PASSED] 0xA782 (ALDERLAKE_S)
[21:08:37] [PASSED] 0xA783 (ALDERLAKE_S)
[21:08:37] [PASSED] 0xA788 (ALDERLAKE_S)
[21:08:37] [PASSED] 0xA789 (ALDERLAKE_S)
[21:08:37] [PASSED] 0xA78A (ALDERLAKE_S)
[21:08:37] [PASSED] 0xA78B (ALDERLAKE_S)
[21:08:37] [PASSED] 0x4905 (DG1)
[21:08:37] [PASSED] 0x4906 (DG1)
[21:08:37] [PASSED] 0x4907 (DG1)
[21:08:37] [PASSED] 0x4908 (DG1)
[21:08:37] [PASSED] 0x4909 (DG1)
[21:08:37] [PASSED] 0x56C0 (DG2)
[21:08:37] [PASSED] 0x56C2 (DG2)
[21:08:37] [PASSED] 0x56C1 (DG2)
[21:08:37] [PASSED] 0x7D51 (METEORLAKE)
[21:08:37] [PASSED] 0x7DD1 (METEORLAKE)
[21:08:37] [PASSED] 0x7D41 (METEORLAKE)
[21:08:37] [PASSED] 0x7D67 (METEORLAKE)
[21:08:37] [PASSED] 0xB640 (METEORLAKE)
[21:08:37] [PASSED] 0x56A0 (DG2)
[21:08:37] [PASSED] 0x56A1 (DG2)
[21:08:37] [PASSED] 0x56A2 (DG2)
[21:08:37] [PASSED] 0x56BE (DG2)
[21:08:37] [PASSED] 0x56BF (DG2)
[21:08:37] [PASSED] 0x5690 (DG2)
[21:08:37] [PASSED] 0x5691 (DG2)
[21:08:37] [PASSED] 0x5692 (DG2)
[21:08:37] [PASSED] 0x56A5 (DG2)
[21:08:37] [PASSED] 0x56A6 (DG2)
[21:08:37] [PASSED] 0x56B0 (DG2)
[21:08:37] [PASSED] 0x56B1 (DG2)
[21:08:37] [PASSED] 0x56BA (DG2)
[21:08:37] [PASSED] 0x56BB (DG2)
[21:08:37] [PASSED] 0x56BC (DG2)
[21:08:37] [PASSED] 0x56BD (DG2)
[21:08:37] [PASSED] 0x5693 (DG2)
[21:08:37] [PASSED] 0x5694 (DG2)
[21:08:37] [PASSED] 0x5695 (DG2)
[21:08:37] [PASSED] 0x56A3 (DG2)
[21:08:37] [PASSED] 0x56A4 (DG2)
[21:08:37] [PASSED] 0x56B2 (DG2)
[21:08:37] [PASSED] 0x56B3 (DG2)
[21:08:37] [PASSED] 0x5696 (DG2)
[21:08:37] [PASSED] 0x5697 (DG2)
[21:08:37] [PASSED] 0xB69 (PVC)
[21:08:37] [PASSED] 0xB6E (PVC)
[21:08:37] [PASSED] 0xBD4 (PVC)
[21:08:37] [PASSED] 0xBD5 (PVC)
[21:08:37] [PASSED] 0xBD6 (PVC)
[21:08:37] [PASSED] 0xBD7 (PVC)
[21:08:37] [PASSED] 0xBD8 (PVC)
[21:08:37] [PASSED] 0xBD9 (PVC)
[21:08:37] [PASSED] 0xBDA (PVC)
[21:08:37] [PASSED] 0xBDB (PVC)
[21:08:37] [PASSED] 0xBE0 (PVC)
[21:08:37] [PASSED] 0xBE1 (PVC)
[21:08:37] [PASSED] 0xBE5 (PVC)
[21:08:37] [PASSED] 0x7D40 (METEORLAKE)
[21:08:37] [PASSED] 0x7D45 (METEORLAKE)
[21:08:37] [PASSED] 0x7D55 (METEORLAKE)
[21:08:37] [PASSED] 0x7D60 (METEORLAKE)
[21:08:37] [PASSED] 0x7DD5 (METEORLAKE)
[21:08:37] [PASSED] 0x6420 (LUNARLAKE)
[21:08:37] [PASSED] 0x64A0 (LUNARLAKE)
[21:08:37] [PASSED] 0x64B0 (LUNARLAKE)
[21:08:37] [PASSED] 0xE202 (BATTLEMAGE)
[21:08:37] [PASSED] 0xE209 (BATTLEMAGE)
[21:08:37] [PASSED] 0xE20B (BATTLEMAGE)
[21:08:37] [PASSED] 0xE20C (BATTLEMAGE)
[21:08:37] [PASSED] 0xE20D (BATTLEMAGE)
[21:08:37] [PASSED] 0xE210 (BATTLEMAGE)
[21:08:37] [PASSED] 0xE211 (BATTLEMAGE)
[21:08:37] [PASSED] 0xE212 (BATTLEMAGE)
[21:08:37] [PASSED] 0xE216 (BATTLEMAGE)
[21:08:37] [PASSED] 0xE220 (BATTLEMAGE)
[21:08:37] [PASSED] 0xE221 (BATTLEMAGE)
[21:08:37] [PASSED] 0xE222 (BATTLEMAGE)
[21:08:37] [PASSED] 0xE223 (BATTLEMAGE)
[21:08:37] [PASSED] 0xB080 (PANTHERLAKE)
[21:08:37] [PASSED] 0xB081 (PANTHERLAKE)
[21:08:37] [PASSED] 0xB082 (PANTHERLAKE)
[21:08:37] [PASSED] 0xB083 (PANTHERLAKE)
[21:08:37] [PASSED] 0xB084 (PANTHERLAKE)
[21:08:37] [PASSED] 0xB085 (PANTHERLAKE)
[21:08:37] [PASSED] 0xB086 (PANTHERLAKE)
[21:08:37] [PASSED] 0xB087 (PANTHERLAKE)
[21:08:37] [PASSED] 0xB08F (PANTHERLAKE)
[21:08:37] [PASSED] 0xB090 (PANTHERLAKE)
[21:08:37] [PASSED] 0xB0A0 (PANTHERLAKE)
[21:08:37] [PASSED] 0xB0B0 (PANTHERLAKE)
[21:08:37] [PASSED] 0xFD80 (PANTHERLAKE)
[21:08:37] [PASSED] 0xFD81 (PANTHERLAKE)
[21:08:37] [PASSED] 0xD740 (NOVALAKE_S)
[21:08:37] [PASSED] 0xD741 (NOVALAKE_S)
[21:08:37] [PASSED] 0xD742 (NOVALAKE_S)
[21:08:37] [PASSED] 0xD743 (NOVALAKE_S)
[21:08:37] [PASSED] 0xD744 (NOVALAKE_S)
[21:08:37] [PASSED] 0xD745 (NOVALAKE_S)
[21:08:37] [PASSED] 0x674C (CRESCENTISLAND)
[21:08:37] [PASSED] 0xD750 (NOVALAKE_P)
[21:08:37] [PASSED] 0xD751 (NOVALAKE_P)
[21:08:37] [PASSED] 0xD752 (NOVALAKE_P)
[21:08:37] [PASSED] 0xD753 (NOVALAKE_P)
[21:08:37] [PASSED] 0xD754 (NOVALAKE_P)
[21:08:37] [PASSED] 0xD755 (NOVALAKE_P)
[21:08:37] [PASSED] 0xD756 (NOVALAKE_P)
[21:08:37] [PASSED] 0xD757 (NOVALAKE_P)
[21:08:37] [PASSED] 0xD75F (NOVALAKE_P)
[21:08:37] =============== [PASSED] check_platform_desc ===============
[21:08:37] ===================== [PASSED] xe_pci ======================
[21:08:37] =================== xe_rtp (2 subtests) ====================
[21:08:37] =============== xe_rtp_process_to_sr_tests ================
[21:08:37] [PASSED] coalesce-same-reg
[21:08:37] [PASSED] no-match-no-add
[21:08:37] [PASSED] match-or
[21:08:37] [PASSED] match-or-xfail
[21:08:37] [PASSED] no-match-no-add-multiple-rules
[21:08:37] [PASSED] two-regs-two-entries
[21:08:37] [PASSED] clr-one-set-other
[21:08:37] [PASSED] set-field
[21:08:37] [PASSED] conflict-duplicate
stty: 'standard input': Inappropriate ioctl for device
[21:08:37] [PASSED] conflict-not-disjoint
[21:08:37] [PASSED] conflict-reg-type
[21:08:37] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[21:08:37] ================== xe_rtp_process_tests ===================
[21:08:37] [PASSED] active1
[21:08:37] [PASSED] active2
[21:08:37] [PASSED] active-inactive
[21:08:37] [PASSED] inactive-active
[21:08:37] [PASSED] inactive-1st_or_active-inactive
[21:08:37] [PASSED] inactive-2nd_or_active-inactive
[21:08:37] [PASSED] inactive-last_or_active-inactive
[21:08:37] [PASSED] inactive-no_or_active-inactive
[21:08:37] ============== [PASSED] xe_rtp_process_tests ===============
[21:08:37] ===================== [PASSED] xe_rtp ======================
[21:08:37] ==================== xe_wa (1 subtest) =====================
[21:08:37] ======================== xe_wa_gt =========================
[21:08:37] [PASSED] TIGERLAKE B0
[21:08:37] [PASSED] DG1 A0
[21:08:37] [PASSED] DG1 B0
[21:08:37] [PASSED] ALDERLAKE_S A0
[21:08:37] [PASSED] ALDERLAKE_S B0
[21:08:37] [PASSED] ALDERLAKE_S C0
[21:08:37] [PASSED] ALDERLAKE_S D0
[21:08:37] [PASSED] ALDERLAKE_P A0
[21:08:37] [PASSED] ALDERLAKE_P B0
[21:08:37] [PASSED] ALDERLAKE_P C0
[21:08:37] [PASSED] ALDERLAKE_S RPLS D0
[21:08:37] [PASSED] ALDERLAKE_P RPLU E0
[21:08:37] [PASSED] DG2 G10 C0
[21:08:37] [PASSED] DG2 G11 B1
[21:08:37] [PASSED] DG2 G12 A1
[21:08:37] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[21:08:37] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[21:08:37] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[21:08:37] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[21:08:37] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[21:08:37] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[21:08:37] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[21:08:37] ==================== [PASSED] xe_wa_gt =====================
[21:08:37] ====================== [PASSED] xe_wa ======================
[21:08:37] ============================================================
[21:08:37] Testing complete. Ran 597 tests: passed: 579, skipped: 18
[21:08:37] Elapsed time: 35.686s total, 4.276s configuring, 30.793s building, 0.596s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[21:08:37] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[21:08: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
[21:09:03] Starting KUnit Kernel (1/1)...
[21:09:03] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[21:09:03] ============ drm_test_pick_cmdline (2 subtests) ============
[21:09:03] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[21:09:03] =============== drm_test_pick_cmdline_named ===============
[21:09:03] [PASSED] NTSC
[21:09:03] [PASSED] NTSC-J
[21:09:03] [PASSED] PAL
[21:09:03] [PASSED] PAL-M
[21:09:03] =========== [PASSED] drm_test_pick_cmdline_named ===========
[21:09:03] ============== [PASSED] drm_test_pick_cmdline ==============
[21:09:03] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[21:09:03] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[21:09:03] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[21:09:03] =========== drm_validate_clone_mode (2 subtests) ===========
[21:09:03] ============== drm_test_check_in_clone_mode ===============
[21:09:03] [PASSED] in_clone_mode
[21:09:03] [PASSED] not_in_clone_mode
[21:09:03] ========== [PASSED] drm_test_check_in_clone_mode ===========
[21:09:03] =============== drm_test_check_valid_clones ===============
[21:09:03] [PASSED] not_in_clone_mode
[21:09:03] [PASSED] valid_clone
[21:09:03] [PASSED] invalid_clone
[21:09:03] =========== [PASSED] drm_test_check_valid_clones ===========
[21:09:03] ============= [PASSED] drm_validate_clone_mode =============
[21:09:03] ============= drm_validate_modeset (1 subtest) =============
[21:09:03] [PASSED] drm_test_check_connector_changed_modeset
[21:09:03] ============== [PASSED] drm_validate_modeset ===============
[21:09:03] ====== drm_test_bridge_get_current_state (2 subtests) ======
[21:09:03] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[21:09:03] [PASSED] drm_test_drm_bridge_get_current_state_legacy
[21:09:03] ======== [PASSED] drm_test_bridge_get_current_state ========
[21:09:03] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[21:09:03] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[21:09:03] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[21:09:03] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy
[21:09:03] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[21:09:03] ============== drm_bridge_alloc (2 subtests) ===============
[21:09:03] [PASSED] drm_test_drm_bridge_alloc_basic
[21:09:03] [PASSED] drm_test_drm_bridge_alloc_get_put
[21:09:03] ================ [PASSED] drm_bridge_alloc =================
[21:09:03] ============= drm_cmdline_parser (40 subtests) =============
[21:09:03] [PASSED] drm_test_cmdline_force_d_only
[21:09:03] [PASSED] drm_test_cmdline_force_D_only_dvi
[21:09:03] [PASSED] drm_test_cmdline_force_D_only_hdmi
[21:09:03] [PASSED] drm_test_cmdline_force_D_only_not_digital
[21:09:03] [PASSED] drm_test_cmdline_force_e_only
[21:09:03] [PASSED] drm_test_cmdline_res
[21:09:03] [PASSED] drm_test_cmdline_res_vesa
[21:09:03] [PASSED] drm_test_cmdline_res_vesa_rblank
[21:09:03] [PASSED] drm_test_cmdline_res_rblank
[21:09:03] [PASSED] drm_test_cmdline_res_bpp
[21:09:03] [PASSED] drm_test_cmdline_res_refresh
[21:09:03] [PASSED] drm_test_cmdline_res_bpp_refresh
[21:09:03] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[21:09:03] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[21:09:03] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[21:09:03] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[21:09:03] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[21:09:03] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[21:09:03] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[21:09:03] [PASSED] drm_test_cmdline_res_margins_force_on
[21:09:03] [PASSED] drm_test_cmdline_res_vesa_margins
[21:09:03] [PASSED] drm_test_cmdline_name
[21:09:03] [PASSED] drm_test_cmdline_name_bpp
[21:09:03] [PASSED] drm_test_cmdline_name_option
[21:09:03] [PASSED] drm_test_cmdline_name_bpp_option
[21:09:03] [PASSED] drm_test_cmdline_rotate_0
[21:09:03] [PASSED] drm_test_cmdline_rotate_90
[21:09:03] [PASSED] drm_test_cmdline_rotate_180
[21:09:03] [PASSED] drm_test_cmdline_rotate_270
[21:09:03] [PASSED] drm_test_cmdline_hmirror
[21:09:03] [PASSED] drm_test_cmdline_vmirror
[21:09:03] [PASSED] drm_test_cmdline_margin_options
[21:09:03] [PASSED] drm_test_cmdline_multiple_options
[21:09:03] [PASSED] drm_test_cmdline_bpp_extra_and_option
[21:09:03] [PASSED] drm_test_cmdline_extra_and_option
[21:09:03] [PASSED] drm_test_cmdline_freestanding_options
[21:09:03] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[21:09:03] [PASSED] drm_test_cmdline_panel_orientation
[21:09:03] ================ drm_test_cmdline_invalid =================
[21:09:03] [PASSED] margin_only
[21:09:03] [PASSED] interlace_only
[21:09:03] [PASSED] res_missing_x
[21:09:03] [PASSED] res_missing_y
[21:09:03] [PASSED] res_bad_y
[21:09:03] [PASSED] res_missing_y_bpp
[21:09:03] [PASSED] res_bad_bpp
[21:09:03] [PASSED] res_bad_refresh
[21:09:03] [PASSED] res_bpp_refresh_force_on_off
[21:09:03] [PASSED] res_invalid_mode
[21:09:03] [PASSED] res_bpp_wrong_place_mode
[21:09:03] [PASSED] name_bpp_refresh
[21:09:03] [PASSED] name_refresh
[21:09:03] [PASSED] name_refresh_wrong_mode
[21:09:03] [PASSED] name_refresh_invalid_mode
[21:09:03] [PASSED] rotate_multiple
[21:09:03] [PASSED] rotate_invalid_val
[21:09:03] [PASSED] rotate_truncated
[21:09:03] [PASSED] invalid_option
[21:09:03] [PASSED] invalid_tv_option
[21:09:03] [PASSED] truncated_tv_option
[21:09:03] ============ [PASSED] drm_test_cmdline_invalid =============
[21:09:03] =============== drm_test_cmdline_tv_options ===============
[21:09:03] [PASSED] NTSC
[21:09:03] [PASSED] NTSC_443
[21:09:03] [PASSED] NTSC_J
[21:09:03] [PASSED] PAL
[21:09:03] [PASSED] PAL_M
[21:09:03] [PASSED] PAL_N
[21:09:03] [PASSED] SECAM
[21:09:03] [PASSED] MONO_525
[21:09:03] [PASSED] MONO_625
[21:09:03] =========== [PASSED] drm_test_cmdline_tv_options ===========
[21:09:03] =============== [PASSED] drm_cmdline_parser ================
[21:09:03] ========== drmm_connector_hdmi_init (20 subtests) ==========
[21:09:03] [PASSED] drm_test_connector_hdmi_init_valid
[21:09:03] [PASSED] drm_test_connector_hdmi_init_bpc_8
[21:09:03] [PASSED] drm_test_connector_hdmi_init_bpc_10
[21:09:03] [PASSED] drm_test_connector_hdmi_init_bpc_12
[21:09:03] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[21:09:03] [PASSED] drm_test_connector_hdmi_init_bpc_null
[21:09:03] [PASSED] drm_test_connector_hdmi_init_formats_empty
[21:09:03] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[21:09:03] === drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[21:09:03] [PASSED] supported_formats=0x9 yuv420_allowed=1
[21:09:03] [PASSED] supported_formats=0x9 yuv420_allowed=0
[21:09:03] [PASSED] supported_formats=0x5 yuv420_allowed=1
[21:09:03] [PASSED] supported_formats=0x5 yuv420_allowed=0
[21:09:03] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[21:09:03] [PASSED] drm_test_connector_hdmi_init_null_ddc
[21:09:03] [PASSED] drm_test_connector_hdmi_init_null_product
[21:09:03] [PASSED] drm_test_connector_hdmi_init_null_vendor
[21:09:03] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[21:09:03] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[21:09:03] [PASSED] drm_test_connector_hdmi_init_product_valid
[21:09:03] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[21:09:03] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[21:09:03] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[21:09:03] ========= drm_test_connector_hdmi_init_type_valid =========
[21:09:03] [PASSED] HDMI-A
[21:09:03] [PASSED] HDMI-B
[21:09:03] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[21:09:03] ======== drm_test_connector_hdmi_init_type_invalid ========
[21:09:03] [PASSED] Unknown
[21:09:03] [PASSED] VGA
[21:09:03] [PASSED] DVI-I
[21:09:03] [PASSED] DVI-D
[21:09:03] [PASSED] DVI-A
[21:09:03] [PASSED] Composite
[21:09:03] [PASSED] SVIDEO
[21:09:03] [PASSED] LVDS
[21:09:03] [PASSED] Component
[21:09:03] [PASSED] DIN
[21:09:03] [PASSED] DP
[21:09:03] [PASSED] TV
[21:09:03] [PASSED] eDP
[21:09:03] [PASSED] Virtual
[21:09:03] [PASSED] DSI
[21:09:03] [PASSED] DPI
[21:09:03] [PASSED] Writeback
[21:09:03] [PASSED] SPI
[21:09:03] [PASSED] USB
[21:09:03] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[21:09:03] ============ [PASSED] drmm_connector_hdmi_init =============
[21:09:03] ============= drmm_connector_init (3 subtests) =============
[21:09:03] [PASSED] drm_test_drmm_connector_init
[21:09:03] [PASSED] drm_test_drmm_connector_init_null_ddc
[21:09:03] ========= drm_test_drmm_connector_init_type_valid =========
[21:09:03] [PASSED] Unknown
[21:09:03] [PASSED] VGA
[21:09:03] [PASSED] DVI-I
[21:09:03] [PASSED] DVI-D
[21:09:03] [PASSED] DVI-A
[21:09:03] [PASSED] Composite
[21:09:03] [PASSED] SVIDEO
[21:09:03] [PASSED] LVDS
[21:09:03] [PASSED] Component
[21:09:03] [PASSED] DIN
[21:09:03] [PASSED] DP
[21:09:03] [PASSED] HDMI-A
[21:09:03] [PASSED] HDMI-B
[21:09:03] [PASSED] TV
[21:09:03] [PASSED] eDP
[21:09:03] [PASSED] Virtual
[21:09:03] [PASSED] DSI
[21:09:03] [PASSED] DPI
[21:09:03] [PASSED] Writeback
[21:09:03] [PASSED] SPI
[21:09:03] [PASSED] USB
[21:09:03] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[21:09:03] =============== [PASSED] drmm_connector_init ===============
[21:09:03] ========= drm_connector_dynamic_init (6 subtests) ==========
[21:09:03] [PASSED] drm_test_drm_connector_dynamic_init
[21:09:03] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[21:09:03] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[21:09:03] [PASSED] drm_test_drm_connector_dynamic_init_properties
[21:09:03] ===== drm_test_drm_connector_dynamic_init_type_valid ======
[21:09:03] [PASSED] Unknown
[21:09:03] [PASSED] VGA
[21:09:03] [PASSED] DVI-I
[21:09:03] [PASSED] DVI-D
[21:09:03] [PASSED] DVI-A
[21:09:03] [PASSED] Composite
[21:09:03] [PASSED] SVIDEO
[21:09:03] [PASSED] LVDS
[21:09:03] [PASSED] Component
[21:09:03] [PASSED] DIN
[21:09:03] [PASSED] DP
[21:09:03] [PASSED] HDMI-A
[21:09:03] [PASSED] HDMI-B
[21:09:03] [PASSED] TV
[21:09:03] [PASSED] eDP
[21:09:03] [PASSED] Virtual
[21:09:03] [PASSED] DSI
[21:09:03] [PASSED] DPI
[21:09:03] [PASSED] Writeback
[21:09:03] [PASSED] SPI
[21:09:03] [PASSED] USB
[21:09:03] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[21:09:03] ======== drm_test_drm_connector_dynamic_init_name =========
[21:09:03] [PASSED] Unknown
[21:09:03] [PASSED] VGA
[21:09:03] [PASSED] DVI-I
[21:09:03] [PASSED] DVI-D
[21:09:03] [PASSED] DVI-A
[21:09:03] [PASSED] Composite
[21:09:03] [PASSED] SVIDEO
[21:09:03] [PASSED] LVDS
[21:09:03] [PASSED] Component
[21:09:03] [PASSED] DIN
[21:09:03] [PASSED] DP
[21:09:03] [PASSED] HDMI-A
[21:09:03] [PASSED] HDMI-B
[21:09:03] [PASSED] TV
[21:09:03] [PASSED] eDP
[21:09:03] [PASSED] Virtual
[21:09:03] [PASSED] DSI
[21:09:03] [PASSED] DPI
[21:09:03] [PASSED] Writeback
[21:09:03] [PASSED] SPI
[21:09:03] [PASSED] USB
[21:09:03] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[21:09:03] =========== [PASSED] drm_connector_dynamic_init ============
[21:09:03] ==== drm_connector_dynamic_register_early (4 subtests) =====
[21:09:03] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[21:09:03] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[21:09:03] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[21:09:03] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[21:09:03] ====== [PASSED] drm_connector_dynamic_register_early =======
[21:09:03] ======= drm_connector_dynamic_register (7 subtests) ========
[21:09:03] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[21:09:03] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[21:09:03] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[21:09:03] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[21:09:03] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[21:09:03] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[21:09:03] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[21:09:03] ========= [PASSED] drm_connector_dynamic_register ==========
[21:09:03] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[21:09:03] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[21:09:03] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[21:09:03] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[21:09:03] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[21:09:03] ========== drm_test_get_tv_mode_from_name_valid ===========
[21:09:03] [PASSED] NTSC
[21:09:03] [PASSED] NTSC-443
[21:09:03] [PASSED] NTSC-J
[21:09:03] [PASSED] PAL
[21:09:03] [PASSED] PAL-M
[21:09:03] [PASSED] PAL-N
[21:09:03] [PASSED] SECAM
[21:09:03] [PASSED] Mono
[21:09:03] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[21:09:03] [PASSED] drm_test_get_tv_mode_from_name_truncated
[21:09:03] ============ [PASSED] drm_get_tv_mode_from_name ============
[21:09:03] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[21:09:03] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[21:09:03] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[21:09:03] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[21:09:03] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[21:09:03] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[21:09:03] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[21:09:03] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid =
[21:09:03] [PASSED] VIC 96
[21:09:03] [PASSED] VIC 97
[21:09:03] [PASSED] VIC 101
[21:09:03] [PASSED] VIC 102
[21:09:03] [PASSED] VIC 106
[21:09:03] [PASSED] VIC 107
[21:09:03] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[21:09:03] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[21:09:03] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[21:09:03] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[21:09:03] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[21:09:03] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[21:09:03] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[21:09:03] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[21:09:03] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ====
[21:09:03] [PASSED] Automatic
[21:09:03] [PASSED] Full
[21:09:03] [PASSED] Limited 16:235
[21:09:03] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[21:09:03] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[21:09:03] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[21:09:03] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[21:09:03] === drm_test_drm_hdmi_connector_get_output_format_name ====
[21:09:03] [PASSED] RGB
[21:09:03] [PASSED] YUV 4:2:0
[21:09:03] [PASSED] YUV 4:2:2
[21:09:03] [PASSED] YUV 4:4:4
[21:09:03] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[21:09:03] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[21:09:03] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[21:09:03] ============= drm_damage_helper (21 subtests) ==============
[21:09:03] [PASSED] drm_test_damage_iter_no_damage
[21:09:03] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[21:09:03] [PASSED] drm_test_damage_iter_no_damage_src_moved
[21:09:03] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[21:09:03] [PASSED] drm_test_damage_iter_no_damage_not_visible
[21:09:03] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[21:09:03] [PASSED] drm_test_damage_iter_no_damage_no_fb
[21:09:03] [PASSED] drm_test_damage_iter_simple_damage
[21:09:03] [PASSED] drm_test_damage_iter_single_damage
[21:09:03] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[21:09:03] [PASSED] drm_test_damage_iter_single_damage_outside_src
[21:09:03] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[21:09:03] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[21:09:03] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[21:09:03] [PASSED] drm_test_damage_iter_single_damage_src_moved
[21:09:03] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[21:09:03] [PASSED] drm_test_damage_iter_damage
[21:09:03] [PASSED] drm_test_damage_iter_damage_one_intersect
[21:09:03] [PASSED] drm_test_damage_iter_damage_one_outside
[21:09:03] [PASSED] drm_test_damage_iter_damage_src_moved
[21:09:03] [PASSED] drm_test_damage_iter_damage_not_visible
[21:09:03] ================ [PASSED] drm_damage_helper ================
[21:09:03] ============== drm_dp_mst_helper (3 subtests) ==============
[21:09:03] ============== drm_test_dp_mst_calc_pbn_mode ==============
[21:09:03] [PASSED] Clock 154000 BPP 30 DSC disabled
[21:09:03] [PASSED] Clock 234000 BPP 30 DSC disabled
[21:09:03] [PASSED] Clock 297000 BPP 24 DSC disabled
[21:09:03] [PASSED] Clock 332880 BPP 24 DSC enabled
[21:09:03] [PASSED] Clock 324540 BPP 24 DSC enabled
[21:09:03] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[21:09:03] ============== drm_test_dp_mst_calc_pbn_div ===============
[21:09:03] [PASSED] Link rate 2000000 lane count 4
[21:09:03] [PASSED] Link rate 2000000 lane count 2
[21:09:03] [PASSED] Link rate 2000000 lane count 1
[21:09:03] [PASSED] Link rate 1350000 lane count 4
[21:09:03] [PASSED] Link rate 1350000 lane count 2
[21:09:03] [PASSED] Link rate 1350000 lane count 1
[21:09:03] [PASSED] Link rate 1000000 lane count 4
[21:09:03] [PASSED] Link rate 1000000 lane count 2
[21:09:03] [PASSED] Link rate 1000000 lane count 1
[21:09:03] [PASSED] Link rate 810000 lane count 4
[21:09:03] [PASSED] Link rate 810000 lane count 2
[21:09:03] [PASSED] Link rate 810000 lane count 1
[21:09:03] [PASSED] Link rate 540000 lane count 4
[21:09:03] [PASSED] Link rate 540000 lane count 2
[21:09:03] [PASSED] Link rate 540000 lane count 1
[21:09:03] [PASSED] Link rate 270000 lane count 4
[21:09:03] [PASSED] Link rate 270000 lane count 2
[21:09:03] [PASSED] Link rate 270000 lane count 1
[21:09:03] [PASSED] Link rate 162000 lane count 4
[21:09:03] [PASSED] Link rate 162000 lane count 2
[21:09:03] [PASSED] Link rate 162000 lane count 1
[21:09:03] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[21:09:03] ========= drm_test_dp_mst_sideband_msg_req_decode =========
[21:09:03] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[21:09:03] [PASSED] DP_POWER_UP_PHY with port number
[21:09:03] [PASSED] DP_POWER_DOWN_PHY with port number
[21:09:03] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[21:09:03] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[21:09:03] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[21:09:03] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[21:09:03] [PASSED] DP_QUERY_PAYLOAD with port number
[21:09:03] [PASSED] DP_QUERY_PAYLOAD with VCPI
[21:09:03] [PASSED] DP_REMOTE_DPCD_READ with port number
[21:09:03] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[21:09:03] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[21:09:03] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[21:09:03] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[21:09:03] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[21:09:03] [PASSED] DP_REMOTE_I2C_READ with port number
[21:09:03] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[21:09:03] [PASSED] DP_REMOTE_I2C_READ with transactions array
[21:09:03] [PASSED] DP_REMOTE_I2C_WRITE with port number
[21:09:03] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[21:09:03] [PASSED] DP_REMOTE_I2C_WRITE with data array
[21:09:03] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[21:09:03] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[21:09:03] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[21:09:03] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[21:09:03] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[21:09:03] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[21:09:03] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[21:09:03] ================ [PASSED] drm_dp_mst_helper ================
[21:09:03] ================== drm_exec (7 subtests) ===================
[21:09:03] [PASSED] sanitycheck
[21:09:03] [PASSED] test_lock
[21:09:03] [PASSED] test_lock_unlock
[21:09:03] [PASSED] test_duplicates
[21:09:03] [PASSED] test_prepare
[21:09:03] [PASSED] test_prepare_array
[21:09:03] [PASSED] test_multiple_loops
[21:09:03] ==================== [PASSED] drm_exec =====================
[21:09:03] =========== drm_format_helper_test (17 subtests) ===========
[21:09:03] ============== drm_test_fb_xrgb8888_to_gray8 ==============
[21:09:03] [PASSED] single_pixel_source_buffer
[21:09:03] [PASSED] single_pixel_clip_rectangle
[21:09:03] [PASSED] well_known_colors
[21:09:03] [PASSED] destination_pitch
[21:09:03] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[21:09:03] ============= drm_test_fb_xrgb8888_to_rgb332 ==============
[21:09:03] [PASSED] single_pixel_source_buffer
[21:09:03] [PASSED] single_pixel_clip_rectangle
[21:09:03] [PASSED] well_known_colors
[21:09:03] [PASSED] destination_pitch
[21:09:03] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[21:09:03] ============= drm_test_fb_xrgb8888_to_rgb565 ==============
[21:09:03] [PASSED] single_pixel_source_buffer
[21:09:03] [PASSED] single_pixel_clip_rectangle
[21:09:03] [PASSED] well_known_colors
[21:09:03] [PASSED] destination_pitch
[21:09:03] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[21:09:03] ============ drm_test_fb_xrgb8888_to_xrgb1555 =============
[21:09:03] [PASSED] single_pixel_source_buffer
[21:09:03] [PASSED] single_pixel_clip_rectangle
[21:09:03] [PASSED] well_known_colors
[21:09:03] [PASSED] destination_pitch
[21:09:03] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[21:09:03] ============ drm_test_fb_xrgb8888_to_argb1555 =============
[21:09:03] [PASSED] single_pixel_source_buffer
[21:09:03] [PASSED] single_pixel_clip_rectangle
[21:09:03] [PASSED] well_known_colors
[21:09:03] [PASSED] destination_pitch
[21:09:03] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[21:09:03] ============ drm_test_fb_xrgb8888_to_rgba5551 =============
[21:09:03] [PASSED] single_pixel_source_buffer
[21:09:03] [PASSED] single_pixel_clip_rectangle
[21:09:03] [PASSED] well_known_colors
[21:09:03] [PASSED] destination_pitch
[21:09:03] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[21:09:03] ============= drm_test_fb_xrgb8888_to_rgb888 ==============
[21:09:03] [PASSED] single_pixel_source_buffer
[21:09:03] [PASSED] single_pixel_clip_rectangle
[21:09:03] [PASSED] well_known_colors
[21:09:03] [PASSED] destination_pitch
[21:09:03] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[21:09:03] ============= drm_test_fb_xrgb8888_to_bgr888 ==============
[21:09:03] [PASSED] single_pixel_source_buffer
[21:09:03] [PASSED] single_pixel_clip_rectangle
[21:09:03] [PASSED] well_known_colors
[21:09:03] [PASSED] destination_pitch
[21:09:03] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[21:09:03] ============ drm_test_fb_xrgb8888_to_argb8888 =============
[21:09:03] [PASSED] single_pixel_source_buffer
[21:09:03] [PASSED] single_pixel_clip_rectangle
[21:09:03] [PASSED] well_known_colors
[21:09:03] [PASSED] destination_pitch
[21:09:03] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[21:09:03] =========== drm_test_fb_xrgb8888_to_xrgb2101010 ===========
[21:09:03] [PASSED] single_pixel_source_buffer
[21:09:03] [PASSED] single_pixel_clip_rectangle
[21:09:03] [PASSED] well_known_colors
[21:09:03] [PASSED] destination_pitch
[21:09:03] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[21:09:03] =========== drm_test_fb_xrgb8888_to_argb2101010 ===========
[21:09:03] [PASSED] single_pixel_source_buffer
[21:09:03] [PASSED] single_pixel_clip_rectangle
[21:09:03] [PASSED] well_known_colors
[21:09:03] [PASSED] destination_pitch
[21:09:03] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[21:09:03] ============== drm_test_fb_xrgb8888_to_mono ===============
[21:09:03] [PASSED] single_pixel_source_buffer
[21:09:03] [PASSED] single_pixel_clip_rectangle
[21:09:03] [PASSED] well_known_colors
[21:09:03] [PASSED] destination_pitch
[21:09:03] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[21:09:03] ==================== drm_test_fb_swab =====================
[21:09:03] [PASSED] single_pixel_source_buffer
[21:09:03] [PASSED] single_pixel_clip_rectangle
[21:09:03] [PASSED] well_known_colors
[21:09:03] [PASSED] destination_pitch
[21:09:03] ================ [PASSED] drm_test_fb_swab =================
[21:09:03] ============ drm_test_fb_xrgb8888_to_xbgr8888 =============
[21:09:03] [PASSED] single_pixel_source_buffer
[21:09:03] [PASSED] single_pixel_clip_rectangle
[21:09:03] [PASSED] well_known_colors
[21:09:03] [PASSED] destination_pitch
[21:09:03] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[21:09:03] ============ drm_test_fb_xrgb8888_to_abgr8888 =============
[21:09:03] [PASSED] single_pixel_source_buffer
[21:09:03] [PASSED] single_pixel_clip_rectangle
[21:09:03] [PASSED] well_known_colors
[21:09:03] [PASSED] destination_pitch
[21:09:03] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[21:09:03] ================= drm_test_fb_clip_offset =================
[21:09:03] [PASSED] pass through
[21:09:03] [PASSED] horizontal offset
[21:09:03] [PASSED] vertical offset
[21:09:03] [PASSED] horizontal and vertical offset
[21:09:03] [PASSED] horizontal offset (custom pitch)
[21:09:03] [PASSED] vertical offset (custom pitch)
[21:09:03] [PASSED] horizontal and vertical offset (custom pitch)
[21:09:03] ============= [PASSED] drm_test_fb_clip_offset =============
[21:09:03] =================== drm_test_fb_memcpy ====================
[21:09:03] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[21:09:03] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[21:09:03] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[21:09:03] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[21:09:03] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[21:09:03] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[21:09:03] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[21:09:03] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[21:09:03] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[21:09:03] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[21:09:03] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[21:09:03] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[21:09:03] =============== [PASSED] drm_test_fb_memcpy ================
[21:09:03] ============= [PASSED] drm_format_helper_test ==============
[21:09:03] ================= drm_format (18 subtests) =================
[21:09:03] [PASSED] drm_test_format_block_width_invalid
[21:09:03] [PASSED] drm_test_format_block_width_one_plane
[21:09:03] [PASSED] drm_test_format_block_width_two_plane
[21:09:03] [PASSED] drm_test_format_block_width_three_plane
[21:09:03] [PASSED] drm_test_format_block_width_tiled
[21:09:03] [PASSED] drm_test_format_block_height_invalid
[21:09:03] [PASSED] drm_test_format_block_height_one_plane
[21:09:03] [PASSED] drm_test_format_block_height_two_plane
[21:09:03] [PASSED] drm_test_format_block_height_three_plane
[21:09:03] [PASSED] drm_test_format_block_height_tiled
[21:09:03] [PASSED] drm_test_format_min_pitch_invalid
[21:09:03] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[21:09:03] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[21:09:03] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[21:09:03] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[21:09:03] [PASSED] drm_test_format_min_pitch_two_plane
[21:09:03] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[21:09:03] [PASSED] drm_test_format_min_pitch_tiled
[21:09:03] =================== [PASSED] drm_format ====================
[21:09:03] ============== drm_framebuffer (10 subtests) ===============
[21:09:03] ========== drm_test_framebuffer_check_src_coords ==========
[21:09:03] [PASSED] Success: source fits into fb
[21:09:03] [PASSED] Fail: overflowing fb with x-axis coordinate
[21:09:03] [PASSED] Fail: overflowing fb with y-axis coordinate
[21:09:03] [PASSED] Fail: overflowing fb with source width
[21:09:03] [PASSED] Fail: overflowing fb with source height
[21:09:03] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[21:09:03] [PASSED] drm_test_framebuffer_cleanup
[21:09:03] =============== drm_test_framebuffer_create ===============
[21:09:03] [PASSED] ABGR8888 normal sizes
[21:09:03] [PASSED] ABGR8888 max sizes
[21:09:03] [PASSED] ABGR8888 pitch greater than min required
[21:09:03] [PASSED] ABGR8888 pitch less than min required
[21:09:03] [PASSED] ABGR8888 Invalid width
[21:09:03] [PASSED] ABGR8888 Invalid buffer handle
[21:09:03] [PASSED] No pixel format
[21:09:03] [PASSED] ABGR8888 Width 0
[21:09:03] [PASSED] ABGR8888 Height 0
[21:09:03] [PASSED] ABGR8888 Out of bound height * pitch combination
[21:09:03] [PASSED] ABGR8888 Large buffer offset
[21:09:03] [PASSED] ABGR8888 Buffer offset for inexistent plane
[21:09:03] [PASSED] ABGR8888 Invalid flag
[21:09:03] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[21:09:03] [PASSED] ABGR8888 Valid buffer modifier
[21:09:03] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[21:09:03] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[21:09:03] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[21:09:03] [PASSED] NV12 Normal sizes
[21:09:03] [PASSED] NV12 Max sizes
[21:09:03] [PASSED] NV12 Invalid pitch
[21:09:03] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[21:09:03] [PASSED] NV12 different modifier per-plane
[21:09:03] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[21:09:03] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[21:09:03] [PASSED] NV12 Modifier for inexistent plane
[21:09:03] [PASSED] NV12 Handle for inexistent plane
[21:09:03] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[21:09:03] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[21:09:03] [PASSED] YVU420 Normal sizes
[21:09:03] [PASSED] YVU420 Max sizes
[21:09:03] [PASSED] YVU420 Invalid pitch
[21:09:03] [PASSED] YVU420 Different pitches
[21:09:03] [PASSED] YVU420 Different buffer offsets/pitches
[21:09:03] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[21:09:03] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[21:09:03] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[21:09:03] [PASSED] YVU420 Valid modifier
[21:09:03] [PASSED] YVU420 Different modifiers per plane
[21:09:03] [PASSED] YVU420 Modifier for inexistent plane
[21:09:03] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[21:09:03] [PASSED] X0L2 Normal sizes
[21:09:03] [PASSED] X0L2 Max sizes
[21:09:03] [PASSED] X0L2 Invalid pitch
[21:09:03] [PASSED] X0L2 Pitch greater than minimum required
[21:09:03] [PASSED] X0L2 Handle for inexistent plane
[21:09:03] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[21:09:03] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[21:09:03] [PASSED] X0L2 Valid modifier
[21:09:03] [PASSED] X0L2 Modifier for inexistent plane
[21:09:03] =========== [PASSED] drm_test_framebuffer_create ===========
[21:09:03] [PASSED] drm_test_framebuffer_free
[21:09:03] [PASSED] drm_test_framebuffer_init
[21:09:03] [PASSED] drm_test_framebuffer_init_bad_format
[21:09:03] [PASSED] drm_test_framebuffer_init_dev_mismatch
[21:09:03] [PASSED] drm_test_framebuffer_lookup
[21:09:03] [PASSED] drm_test_framebuffer_lookup_inexistent
[21:09:03] [PASSED] drm_test_framebuffer_modifiers_not_supported
[21:09:03] ================= [PASSED] drm_framebuffer =================
[21:09:03] ================ drm_gem_shmem (8 subtests) ================
[21:09:03] [PASSED] drm_gem_shmem_test_obj_create
[21:09:03] [PASSED] drm_gem_shmem_test_obj_create_private
[21:09:03] [PASSED] drm_gem_shmem_test_pin_pages
[21:09:03] [PASSED] drm_gem_shmem_test_vmap
[21:09:03] [PASSED] drm_gem_shmem_test_get_sg_table
[21:09:03] [PASSED] drm_gem_shmem_test_get_pages_sgt
[21:09:03] [PASSED] drm_gem_shmem_test_madvise
[21:09:03] [PASSED] drm_gem_shmem_test_purge
[21:09:03] ================== [PASSED] drm_gem_shmem ==================
[21:09:03] === drm_atomic_helper_connector_hdmi_check (27 subtests) ===
[21:09:03] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[21:09:03] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[21:09:03] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[21:09:03] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[21:09:03] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[21:09:03] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[21:09:03] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 =======
[21:09:03] [PASSED] Automatic
[21:09:03] [PASSED] Full
[21:09:03] [PASSED] Limited 16:235
[21:09:03] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[21:09:03] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[21:09:03] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[21:09:03] [PASSED] drm_test_check_disable_connector
[21:09:03] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[21:09:03] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[21:09:03] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[21:09:03] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[21:09:03] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[21:09:03] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[21:09:03] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[21:09:03] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[21:09:03] [PASSED] drm_test_check_output_bpc_dvi
[21:09:03] [PASSED] drm_test_check_output_bpc_format_vic_1
[21:09:03] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[21:09:03] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[21:09:03] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[21:09:03] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[21:09:03] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[21:09:03] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[21:09:03] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[21:09:03] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[21:09:03] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[21:09:03] [PASSED] drm_test_check_broadcast_rgb_value
[21:09:03] [PASSED] drm_test_check_bpc_8_value
[21:09:03] [PASSED] drm_test_check_bpc_10_value
[21:09:03] [PASSED] drm_test_check_bpc_12_value
[21:09:03] [PASSED] drm_test_check_format_value
[21:09:03] [PASSED] drm_test_check_tmds_char_value
[21:09:03] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[21:09:03] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) =
[21:09:03] [PASSED] drm_test_check_mode_valid
[21:09:03] [PASSED] drm_test_check_mode_valid_reject
[21:09:03] [PASSED] drm_test_check_mode_valid_reject_rate
[21:09:03] [PASSED] drm_test_check_mode_valid_reject_max_clock
[21:09:03] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[21:09:03] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) =
[21:09:03] [PASSED] drm_test_check_infoframes
[21:09:03] [PASSED] drm_test_check_reject_avi_infoframe
[21:09:03] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8
[21:09:03] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10
[21:09:03] [PASSED] drm_test_check_reject_audio_infoframe
[21:09:03] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes ===
[21:09:03] ================= drm_managed (2 subtests) =================
[21:09:03] [PASSED] drm_test_managed_release_action
[21:09:03] [PASSED] drm_test_managed_run_action
[21:09:03] =================== [PASSED] drm_managed ===================
[21:09:03] =================== drm_mm (6 subtests) ====================
[21:09:03] [PASSED] drm_test_mm_init
[21:09:03] [PASSED] drm_test_mm_debug
[21:09:03] [PASSED] drm_test_mm_align32
[21:09:03] [PASSED] drm_test_mm_align64
[21:09:03] [PASSED] drm_test_mm_lowest
[21:09:03] [PASSED] drm_test_mm_highest
[21:09:03] ===================== [PASSED] drm_mm ======================
[21:09:03] ============= drm_modes_analog_tv (5 subtests) =============
[21:09:03] [PASSED] drm_test_modes_analog_tv_mono_576i
[21:09:03] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[21:09:03] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[21:09:03] [PASSED] drm_test_modes_analog_tv_pal_576i
[21:09:03] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[21:09:03] =============== [PASSED] drm_modes_analog_tv ===============
[21:09:03] ============== drm_plane_helper (2 subtests) ===============
[21:09:03] =============== drm_test_check_plane_state ================
[21:09:03] [PASSED] clipping_simple
[21:09:03] [PASSED] clipping_rotate_reflect
[21:09:03] [PASSED] positioning_simple
[21:09:03] [PASSED] upscaling
[21:09:03] [PASSED] downscaling
[21:09:03] [PASSED] rounding1
[21:09:03] [PASSED] rounding2
[21:09:03] [PASSED] rounding3
[21:09:03] [PASSED] rounding4
[21:09:03] =========== [PASSED] drm_test_check_plane_state ============
[21:09:03] =========== drm_test_check_invalid_plane_state ============
[21:09:03] [PASSED] positioning_invalid
[21:09:03] [PASSED] upscaling_invalid
[21:09:03] [PASSED] downscaling_invalid
[21:09:03] ======= [PASSED] drm_test_check_invalid_plane_state ========
[21:09:03] ================ [PASSED] drm_plane_helper =================
[21:09:03] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[21:09:03] ====== drm_test_connector_helper_tv_get_modes_check =======
[21:09:03] [PASSED] None
[21:09:03] [PASSED] PAL
[21:09:03] [PASSED] NTSC
[21:09:03] [PASSED] Both, NTSC Default
[21:09:03] [PASSED] Both, PAL Default
[21:09:03] [PASSED] Both, NTSC Default, with PAL on command-line
[21:09:03] [PASSED] Both, PAL Default, with NTSC on command-line
[21:09:03] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[21:09:03] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[21:09:03] ================== drm_rect (9 subtests) ===================
[21:09:03] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[21:09:03] [PASSED] drm_test_rect_clip_scaled_not_clipped
[21:09:03] [PASSED] drm_test_rect_clip_scaled_clipped
[21:09:03] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[21:09:03] ================= drm_test_rect_intersect =================
[21:09:03] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[21:09:03] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[21:09:03] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[21:09:03] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[21:09:03] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[21:09:03] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[21:09:03] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[21:09:03] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[21:09:03] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[21:09:03] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[21:09:03] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[21:09:03] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[21:09:03] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[21:09:03] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[21:09:03] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[21:09:03] ============= [PASSED] drm_test_rect_intersect =============
[21:09:03] ================ drm_test_rect_calc_hscale ================
[21:09:03] [PASSED] normal use
[21:09:03] [PASSED] out of max range
[21:09:03] [PASSED] out of min range
[21:09:03] [PASSED] zero dst
[21:09:03] [PASSED] negative src
[21:09:03] [PASSED] negative dst
[21:09:03] ============ [PASSED] drm_test_rect_calc_hscale ============
[21:09:03] ================ drm_test_rect_calc_vscale ================
[21:09:03] [PASSED] normal use
[21:09:03] [PASSED] out of max range
[21:09:03] [PASSED] out of min range
[21:09:03] [PASSED] zero dst
[21:09:03] [PASSED] negative src
[21:09:03] [PASSED] negative dst
stty: 'standard input': Inappropriate ioctl for device
[21:09:03] ============ [PASSED] drm_test_rect_calc_vscale ============
[21:09:03] ================== drm_test_rect_rotate ===================
[21:09:03] [PASSED] reflect-x
[21:09:03] [PASSED] reflect-y
[21:09:03] [PASSED] rotate-0
[21:09:03] [PASSED] rotate-90
[21:09:03] [PASSED] rotate-180
[21:09:03] [PASSED] rotate-270
[21:09:03] ============== [PASSED] drm_test_rect_rotate ===============
[21:09:03] ================ drm_test_rect_rotate_inv =================
[21:09:03] [PASSED] reflect-x
[21:09:03] [PASSED] reflect-y
[21:09:03] [PASSED] rotate-0
[21:09:03] [PASSED] rotate-90
[21:09:03] [PASSED] rotate-180
[21:09:03] [PASSED] rotate-270
[21:09:03] ============ [PASSED] drm_test_rect_rotate_inv =============
[21:09:03] ==================== [PASSED] drm_rect =====================
[21:09:03] ============ drm_sysfb_modeset_test (1 subtest) ============
[21:09:03] ============ drm_test_sysfb_build_fourcc_list =============
[21:09:03] [PASSED] no native formats
[21:09:03] [PASSED] XRGB8888 as native format
[21:09:03] [PASSED] remove duplicates
[21:09:03] [PASSED] convert alpha formats
[21:09:03] [PASSED] random formats
[21:09:03] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[21:09:03] ============= [PASSED] drm_sysfb_modeset_test ==============
[21:09:03] ================== drm_fixp (2 subtests) ===================
[21:09:03] [PASSED] drm_test_int2fixp
[21:09:03] [PASSED] drm_test_sm2fixp
[21:09:03] ==================== [PASSED] drm_fixp =====================
[21:09:03] ============================================================
[21:09:03] Testing complete. Ran 621 tests: passed: 621
[21:09:04] Elapsed time: 26.299s total, 1.696s configuring, 24.436s building, 0.121s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[21:09:04] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[21:09: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
[21:09:15] Starting KUnit Kernel (1/1)...
[21:09:15] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[21:09:15] ================= ttm_device (5 subtests) ==================
[21:09:15] [PASSED] ttm_device_init_basic
[21:09:15] [PASSED] ttm_device_init_multiple
[21:09:15] [PASSED] ttm_device_fini_basic
[21:09:15] [PASSED] ttm_device_init_no_vma_man
[21:09:15] ================== ttm_device_init_pools ==================
[21:09:15] [PASSED] No DMA allocations, no DMA32 required
[21:09:15] [PASSED] DMA allocations, DMA32 required
[21:09:15] [PASSED] No DMA allocations, DMA32 required
[21:09:15] [PASSED] DMA allocations, no DMA32 required
[21:09:15] ============== [PASSED] ttm_device_init_pools ==============
[21:09:15] =================== [PASSED] ttm_device ====================
[21:09:15] ================== ttm_pool (8 subtests) ===================
[21:09:15] ================== ttm_pool_alloc_basic ===================
[21:09:15] [PASSED] One page
[21:09:15] [PASSED] More than one page
[21:09:15] [PASSED] Above the allocation limit
[21:09:15] [PASSED] One page, with coherent DMA mappings enabled
[21:09:15] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[21:09:15] ============== [PASSED] ttm_pool_alloc_basic ===============
[21:09:15] ============== ttm_pool_alloc_basic_dma_addr ==============
[21:09:15] [PASSED] One page
[21:09:15] [PASSED] More than one page
[21:09:15] [PASSED] Above the allocation limit
[21:09:15] [PASSED] One page, with coherent DMA mappings enabled
[21:09:15] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[21:09:15] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[21:09:15] [PASSED] ttm_pool_alloc_order_caching_match
[21:09:15] [PASSED] ttm_pool_alloc_caching_mismatch
[21:09:15] [PASSED] ttm_pool_alloc_order_mismatch
[21:09:15] [PASSED] ttm_pool_free_dma_alloc
[21:09:15] [PASSED] ttm_pool_free_no_dma_alloc
[21:09:15] [PASSED] ttm_pool_fini_basic
[21:09:15] ==================== [PASSED] ttm_pool =====================
[21:09:15] ================ ttm_resource (8 subtests) =================
[21:09:15] ================= ttm_resource_init_basic =================
[21:09:15] [PASSED] Init resource in TTM_PL_SYSTEM
[21:09:15] [PASSED] Init resource in TTM_PL_VRAM
[21:09:15] [PASSED] Init resource in a private placement
[21:09:15] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[21:09:15] ============= [PASSED] ttm_resource_init_basic =============
[21:09:15] [PASSED] ttm_resource_init_pinned
[21:09:15] [PASSED] ttm_resource_fini_basic
[21:09:15] [PASSED] ttm_resource_manager_init_basic
[21:09:15] [PASSED] ttm_resource_manager_usage_basic
[21:09:15] [PASSED] ttm_resource_manager_set_used_basic
[21:09:15] [PASSED] ttm_sys_man_alloc_basic
[21:09:15] [PASSED] ttm_sys_man_free_basic
[21:09:15] ================== [PASSED] ttm_resource ===================
[21:09:15] =================== ttm_tt (15 subtests) ===================
[21:09:15] ==================== ttm_tt_init_basic ====================
[21:09:15] [PASSED] Page-aligned size
[21:09:15] [PASSED] Extra pages requested
[21:09:15] ================ [PASSED] ttm_tt_init_basic ================
[21:09:15] [PASSED] ttm_tt_init_misaligned
[21:09:15] [PASSED] ttm_tt_fini_basic
[21:09:15] [PASSED] ttm_tt_fini_sg
[21:09:15] [PASSED] ttm_tt_fini_shmem
[21:09:15] [PASSED] ttm_tt_create_basic
[21:09:15] [PASSED] ttm_tt_create_invalid_bo_type
[21:09:15] [PASSED] ttm_tt_create_ttm_exists
[21:09:15] [PASSED] ttm_tt_create_failed
[21:09:15] [PASSED] ttm_tt_destroy_basic
[21:09:15] [PASSED] ttm_tt_populate_null_ttm
[21:09:15] [PASSED] ttm_tt_populate_populated_ttm
[21:09:15] [PASSED] ttm_tt_unpopulate_basic
[21:09:15] [PASSED] ttm_tt_unpopulate_empty_ttm
[21:09:15] [PASSED] ttm_tt_swapin_basic
[21:09:15] ===================== [PASSED] ttm_tt ======================
[21:09:15] =================== ttm_bo (14 subtests) ===================
[21:09:15] =========== ttm_bo_reserve_optimistic_no_ticket ===========
[21:09:15] [PASSED] Cannot be interrupted and sleeps
[21:09:15] [PASSED] Cannot be interrupted, locks straight away
[21:09:15] [PASSED] Can be interrupted, sleeps
[21:09:15] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[21:09:15] [PASSED] ttm_bo_reserve_locked_no_sleep
[21:09:15] [PASSED] ttm_bo_reserve_no_wait_ticket
[21:09:15] [PASSED] ttm_bo_reserve_double_resv
[21:09:15] [PASSED] ttm_bo_reserve_interrupted
[21:09:15] [PASSED] ttm_bo_reserve_deadlock
[21:09:15] [PASSED] ttm_bo_unreserve_basic
[21:09:15] [PASSED] ttm_bo_unreserve_pinned
[21:09:15] [PASSED] ttm_bo_unreserve_bulk
[21:09:15] [PASSED] ttm_bo_fini_basic
[21:09:15] [PASSED] ttm_bo_fini_shared_resv
[21:09:15] [PASSED] ttm_bo_pin_basic
[21:09:15] [PASSED] ttm_bo_pin_unpin_resource
[21:09:15] [PASSED] ttm_bo_multiple_pin_one_unpin
[21:09:15] ===================== [PASSED] ttm_bo ======================
[21:09:15] ============== ttm_bo_validate (22 subtests) ===============
[21:09:15] ============== ttm_bo_init_reserved_sys_man ===============
[21:09:15] [PASSED] Buffer object for userspace
[21:09:15] [PASSED] Kernel buffer object
[21:09:15] [PASSED] Shared buffer object
[21:09:15] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[21:09:15] ============== ttm_bo_init_reserved_mock_man ==============
[21:09:15] [PASSED] Buffer object for userspace
[21:09:15] [PASSED] Kernel buffer object
[21:09:15] [PASSED] Shared buffer object
[21:09:15] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[21:09:15] [PASSED] ttm_bo_init_reserved_resv
[21:09:15] ================== ttm_bo_validate_basic ==================
[21:09:15] [PASSED] Buffer object for userspace
[21:09:15] [PASSED] Kernel buffer object
[21:09:15] [PASSED] Shared buffer object
[21:09:15] ============== [PASSED] ttm_bo_validate_basic ==============
[21:09:15] [PASSED] ttm_bo_validate_invalid_placement
[21:09:15] ============= ttm_bo_validate_same_placement ==============
[21:09:15] [PASSED] System manager
[21:09:15] [PASSED] VRAM manager
[21:09:15] ========= [PASSED] ttm_bo_validate_same_placement ==========
[21:09:15] [PASSED] ttm_bo_validate_failed_alloc
[21:09:15] [PASSED] ttm_bo_validate_pinned
[21:09:15] [PASSED] ttm_bo_validate_busy_placement
[21:09:15] ================ ttm_bo_validate_multihop =================
[21:09:15] [PASSED] Buffer object for userspace
[21:09:15] [PASSED] Kernel buffer object
[21:09:15] [PASSED] Shared buffer object
[21:09:15] ============ [PASSED] ttm_bo_validate_multihop =============
[21:09:15] ========== ttm_bo_validate_no_placement_signaled ==========
[21:09:15] [PASSED] Buffer object in system domain, no page vector
[21:09:15] [PASSED] Buffer object in system domain with an existing page vector
[21:09:15] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[21:09:15] ======== ttm_bo_validate_no_placement_not_signaled ========
[21:09:15] [PASSED] Buffer object for userspace
[21:09:15] [PASSED] Kernel buffer object
[21:09:15] [PASSED] Shared buffer object
[21:09:15] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[21:09:15] [PASSED] ttm_bo_validate_move_fence_signaled
[21:09:15] ========= ttm_bo_validate_move_fence_not_signaled =========
[21:09:15] [PASSED] Waits for GPU
[21:09:15] [PASSED] Tries to lock straight away
[21:09:15] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[21:09:15] [PASSED] ttm_bo_validate_swapout
[21:09:15] [PASSED] ttm_bo_validate_happy_evict
[21:09:15] [PASSED] ttm_bo_validate_all_pinned_evict
[21:09:15] [PASSED] ttm_bo_validate_allowed_only_evict
[21:09:15] [PASSED] ttm_bo_validate_deleted_evict
[21:09:15] [PASSED] ttm_bo_validate_busy_domain_evict
[21:09:15] [PASSED] ttm_bo_validate_evict_gutting
[21:09:15] [PASSED] ttm_bo_validate_recrusive_evict
stty: 'standard input': Inappropriate ioctl for device
[21:09:15] ================= [PASSED] ttm_bo_validate =================
[21:09:15] ============================================================
[21:09:15] Testing complete. Ran 102 tests: passed: 102
[21:09:15] Elapsed time: 11.366s total, 1.777s configuring, 9.372s building, 0.181s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
^ permalink raw reply [flat|nested] 32+ messages in thread* ✓ Xe.CI.BAT: success for drm/xe/pf: Improve EQ/PT provisioning
2026-03-30 20:40 [PATCH 00/13] drm/xe/pf: Improve EQ/PT provisioning Michal Wajdeczko
` (13 preceding siblings ...)
2026-03-30 21:09 ` ✓ CI.KUnit: success for drm/xe/pf: Improve EQ/PT provisioning Patchwork
@ 2026-03-30 21:41 ` Patchwork
2026-03-31 0:28 ` ✗ Xe.CI.FULL: failure " Patchwork
15 siblings, 0 replies; 32+ messages in thread
From: Patchwork @ 2026-03-30 21:41 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 860 bytes --]
== Series Details ==
Series: drm/xe/pf: Improve EQ/PT provisioning
URL : https://patchwork.freedesktop.org/series/164119/
State : success
== Summary ==
CI Bug Log - changes from xe-4822-169e5b6f809026c4a0cb3a736b48378ca8e8fecb_BAT -> xe-pw-164119v1_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (12 -> 12)
------------------------------
No changes in participating hosts
Changes
-------
No changes found
Build changes
-------------
* Linux: xe-4822-169e5b6f809026c4a0cb3a736b48378ca8e8fecb -> xe-pw-164119v1
IGT_8835: 8835
xe-4822-169e5b6f809026c4a0cb3a736b48378ca8e8fecb: 169e5b6f809026c4a0cb3a736b48378ca8e8fecb
xe-pw-164119v1: 164119v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164119v1/index.html
[-- Attachment #2: Type: text/html, Size: 1408 bytes --]
^ permalink raw reply [flat|nested] 32+ messages in thread* ✗ Xe.CI.FULL: failure for drm/xe/pf: Improve EQ/PT provisioning
2026-03-30 20:40 [PATCH 00/13] drm/xe/pf: Improve EQ/PT provisioning Michal Wajdeczko
` (14 preceding siblings ...)
2026-03-30 21:41 ` ✓ Xe.CI.BAT: " Patchwork
@ 2026-03-31 0:28 ` Patchwork
2026-04-02 16:20 ` Michal Wajdeczko
15 siblings, 1 reply; 32+ messages in thread
From: Patchwork @ 2026-03-31 0:28 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 8130 bytes --]
== Series Details ==
Series: drm/xe/pf: Improve EQ/PT provisioning
URL : https://patchwork.freedesktop.org/series/164119/
State : failure
== Summary ==
CI Bug Log - changes from xe-4822-169e5b6f809026c4a0cb3a736b48378ca8e8fecb_FULL -> xe-pw-164119v1_FULL
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with xe-pw-164119v1_FULL absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in xe-pw-164119v1_FULL, please notify your bug team (I915-ci-infra@lists.freedesktop.org) to allow them
to document this new failure mode, which will reduce false positives in CI.
Participating hosts (2 -> 2)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in xe-pw-164119v1_FULL:
### IGT changes ###
#### Possible regressions ####
* igt@xe_module_load@reload-no-display:
- shard-bmg: NOTRUN -> [FAIL][1] +1 other test fail
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164119v1/shard-bmg-5/igt@xe_module_load@reload-no-display.html
Known issues
------------
Here are the changes found in xe-pw-164119v1_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@fbdev@pan:
- shard-bmg: NOTRUN -> [SKIP][2] ([Intel XE#2134])
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164119v1/shard-bmg-5/igt@fbdev@pan.html
* igt@intel_hwmon@hwmon-write:
- shard-bmg: NOTRUN -> [SKIP][3] ([Intel XE#5177] / [Intel XE#6703])
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164119v1/shard-bmg-5/igt@intel_hwmon@hwmon-write.html
* igt@kms_atomic_transition@plane-all-modeset-transition:
- shard-lnl: NOTRUN -> [SKIP][4] ([Intel XE#3279])
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164119v1/shard-lnl-5/igt@kms_atomic_transition@plane-all-modeset-transition.html
* igt@kms_ccs@crc-primary-rotation-180-y-tiled-gen12-mc-ccs:
- shard-lnl: NOTRUN -> [SKIP][5] ([Intel XE#2887]) +1 other test skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164119v1/shard-lnl-5/igt@kms_ccs@crc-primary-rotation-180-y-tiled-gen12-mc-ccs.html
* igt@kms_content_protection@dp-mst-type-0-hdcp14:
- shard-lnl: NOTRUN -> [SKIP][6] ([Intel XE#6974])
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164119v1/shard-lnl-5/igt@kms_content_protection@dp-mst-type-0-hdcp14.html
* igt@kms_flip@flip-vs-expired-vblank@b-edp1:
- shard-lnl: [PASS][7] -> [FAIL][8] ([Intel XE#301]) +1 other test fail
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4822-169e5b6f809026c4a0cb3a736b48378ca8e8fecb/shard-lnl-4/igt@kms_flip@flip-vs-expired-vblank@b-edp1.html
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164119v1/shard-lnl-7/igt@kms_flip@flip-vs-expired-vblank@b-edp1.html
* igt@kms_frontbuffer_tracking@drrs-indfb-scaledprimary:
- shard-lnl: NOTRUN -> [SKIP][9] ([Intel XE#6312] / [Intel XE#651])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164119v1/shard-lnl-5/igt@kms_frontbuffer_tracking@drrs-indfb-scaledprimary.html
* igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-pri-shrfb-draw-mmap-wc:
- shard-lnl: NOTRUN -> [SKIP][10] ([Intel XE#656])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164119v1/shard-lnl-5/igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-pri-shrfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-indfb-plflip-blt:
- shard-bmg: NOTRUN -> [SKIP][11] ([Intel XE#6703]) +444 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164119v1/shard-bmg-5/igt@kms_frontbuffer_tracking@psr-2p-primscrn-indfb-plflip-blt.html
* igt@kms_joiner@invalid-modeset-big-joiner:
- shard-lnl: NOTRUN -> [SKIP][12] ([Intel XE#6901])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164119v1/shard-lnl-5/igt@kms_joiner@invalid-modeset-big-joiner.html
* igt@xe_eudebug_online@pagefault-one-of-many:
- shard-lnl: NOTRUN -> [SKIP][13] ([Intel XE#7636])
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164119v1/shard-lnl-5/igt@xe_eudebug_online@pagefault-one-of-many.html
* igt@xe_exec_balancer@once-parallel-basic:
- shard-lnl: NOTRUN -> [SKIP][14] ([Intel XE#7482])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164119v1/shard-lnl-5/igt@xe_exec_balancer@once-parallel-basic.html
* igt@xe_exec_basic@multigpu-once-userptr-rebind:
- shard-lnl: NOTRUN -> [SKIP][15] ([Intel XE#1392])
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164119v1/shard-lnl-5/igt@xe_exec_basic@multigpu-once-userptr-rebind.html
* igt@xe_exec_fault_mode@twice-multi-queue-userptr-invalidate-race-prefetch:
- shard-lnl: NOTRUN -> [SKIP][16] ([Intel XE#7136])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164119v1/shard-lnl-5/igt@xe_exec_fault_mode@twice-multi-queue-userptr-invalidate-race-prefetch.html
* igt@xe_exec_system_allocator@many-execqueues-mmap-free-nomemset:
- shard-bmg: NOTRUN -> [SKIP][17] ([Intel XE#6557] / [Intel XE#6703]) +1 other test skip
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164119v1/shard-bmg-5/igt@xe_exec_system_allocator@many-execqueues-mmap-free-nomemset.html
* igt@xe_live_ktest@xe_eudebug:
- shard-bmg: NOTRUN -> [SKIP][18] ([Intel XE#2833])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164119v1/shard-bmg-5/igt@xe_live_ktest@xe_eudebug.html
* igt@xe_multigpu_svm@mgpu-coherency-fail-prefetch:
- shard-bmg: NOTRUN -> [SKIP][19] ([Intel XE#6964])
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164119v1/shard-bmg-5/igt@xe_multigpu_svm@mgpu-coherency-fail-prefetch.html
#### Possible fixes ####
* igt@kms_vrr@cmrr@pipe-a-edp-1:
- shard-lnl: [FAIL][20] ([Intel XE#4459]) -> [PASS][21] +1 other test pass
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4822-169e5b6f809026c4a0cb3a736b48378ca8e8fecb/shard-lnl-8/igt@kms_vrr@cmrr@pipe-a-edp-1.html
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164119v1/shard-lnl-4/igt@kms_vrr@cmrr@pipe-a-edp-1.html
[Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
[Intel XE#2134]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2134
[Intel XE#2833]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2833
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#3279]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3279
[Intel XE#4459]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4459
[Intel XE#5177]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5177
[Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#6557]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6557
[Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
[Intel XE#6703]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6703
[Intel XE#6901]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6901
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#6974]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6974
[Intel XE#7136]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7136
[Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
[Intel XE#7636]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7636
Build changes
-------------
* Linux: xe-4822-169e5b6f809026c4a0cb3a736b48378ca8e8fecb -> xe-pw-164119v1
IGT_8835: 8835
xe-4822-169e5b6f809026c4a0cb3a736b48378ca8e8fecb: 169e5b6f809026c4a0cb3a736b48378ca8e8fecb
xe-pw-164119v1: 164119v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-164119v1/index.html
[-- Attachment #2: Type: text/html, Size: 9260 bytes --]
^ permalink raw reply [flat|nested] 32+ messages in thread