[PATCH v2 01/13] drm/xe/guc: Update POLICY_SCHED_IF_IDLE documentation

Michal Wajdeczko
2026-04-02T19:18:09Z

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