]> Gentwo Git Trees - linux/.git/commit
drm/xe/pf: Don't resume device from restart worker
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 1 Aug 2025 14:28:22 +0000 (16:28 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 1 Aug 2025 19:29:55 +0000 (21:29 +0200)
commit9fd9f221440024b7451678898facfb34af054310
tree4469c541d247bf32d8c29e90f76bf369b195bd72
parentc6c86441c465ea440dfb5039f1c26e629a6fd64c
drm/xe/pf: Don't resume device from restart worker

The PF's restart worker shouldn't attempt to resume the device on
its own, since its goal is to finish PF and VFs reprovisioning on
the recently reset GuC. Take extra RPM reference while scheduling
a work and release it from the worker or when we cancel a work.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://lore.kernel.org/r/20250801142822.180530-4-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_gt_sriov_pf.c