]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/xe/pm: Disable RPM for SR-IOV VFs
authorSatyanarayana K V P <satyanarayana.k.v.p@intel.com>
Tue, 12 Aug 2025 16:36:13 +0000 (22:06 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Sun, 17 Aug 2025 16:40:25 +0000 (12:40 -0400)
commit14fcd7361ed1c74dad4062313f2863b643409f6f
tree2a8d682cec5ad99c32ddccace33f9a63785b3480
parentcc8b221172eff821c54d1012bc0c3414638b86cf
drm/xe/pm: Disable RPM for SR-IOV VFs

VFs without native PCIe Power Management (PM) capabilities inherit their
PF's power state as per PCIe specifications(§5.10.1 PCIe Base Spec 7.0).
Enabling Runtime Power Management (RPM) for these VFs trigger unnecessary
driver suspend/resume operations that ultimately perform no PCI-level power
transition.

Since VFs without PM capabilities cannot independently enter low-power
states, the existing RPM workflow becomes redundant:
1. Driver executes full suspend/resume sequence
2. PCI PM transition step becomes no-op
3. VF power state remains tied to PF's status

Disabling RPM for VFs eliminates this redundant processing while
maintaining proper power management through PF dependency. This
optimization ensures VFs follow their PF's power state without superfluous
runtime handling.

Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Michał Winiarski <michal.winiarski@intel.com>
Cc: Anshuman Gupta <anshuman.gupta@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Maarten Lankhorst <dev@lankhorst.se>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://lore.kernel.org/r/20250812163613.9954-1-satyanarayana.k.v.p@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_pm.c