]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/vf: Ensure media GT VF recovery runs after primary GT on PTL
authorMatthew Brost <matthew.brost@intel.com>
Wed, 8 Oct 2025 21:45:30 +0000 (14:45 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 9 Oct 2025 10:24:28 +0000 (03:24 -0700)
commita093570ecd2239ea19db5a158ae616f3dcbec048
treee26fdd876c34c1f88c60b56e714883219b0aef93
parentefd38d619a03b2aadf124a4ddeb4054a447e2c8c
drm/xe/vf: Ensure media GT VF recovery runs after primary GT on PTL

It is possible that the media GT's VF post-migration recovery work item
gets scheduled before the primary GT's work item. Since the media GT
depends on the primary GT's work item to complete CCS restore, if the
media GT's work item is scheduled first, detect this condition and
re-queue the media GT's work item for a later time.

v5:
 - Adjust debug message (Tomasz)

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Tomasz Lis <tomasz.lis@intel.com>
Link: https://lore.kernel.org/r/20251008214532.3442967-33-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_gt_sriov_vf.c