]> Gentwo Git Trees - linux/.git/commit
drm/xe/vf: Pause submissions during RESFIX fixups
authorTomasz Lis <tomasz.lis@intel.com>
Sat, 2 Aug 2025 03:10:39 +0000 (05:10 +0200)
committerMichał Winiarski <michal.winiarski@intel.com>
Mon, 4 Aug 2025 14:46:25 +0000 (16:46 +0200)
commitf1193b864c08213d90e50c20ec3aaf8a413607b6
tree2b4da9789752f2706b15e91166077046c27eb8c9
parentd47cc89d810d7ec19fbb34331551a3439da99c01
drm/xe/vf: Pause submissions during RESFIX fixups

While applying post-migration fixups to VF, GuC will not respond
to any commands. This means submissions have no way of finishing.

To avoid acquiring additional resources and then stalling
on hardware access, pause the submission work. This will
decrease the chance of depleting resources, and speed up
the recovery.

v2: Commented xe_irq_resume() call
v3: Typo fix

Signed-off-by: Tomasz Lis <tomasz.lis@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Michal Winiarski <michal.winiarski@intel.com>
Reviewed-by: Michał Winiarski <michal.winiarski@intel.com>
Link: https://lore.kernel.org/r/20250802031045.1127138-3-tomasz.lis@intel.com
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
drivers/gpu/drm/xe/xe_gpu_scheduler.c
drivers/gpu/drm/xe/xe_gpu_scheduler.h
drivers/gpu/drm/xe/xe_guc_submit.c
drivers/gpu/drm/xe/xe_guc_submit.h
drivers/gpu/drm/xe/xe_sriov_vf.c