]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe/vf: Use primary GT ordered work queue on media GT on PTL VF
authorMatthew Brost <matthew.brost@intel.com>
Wed, 8 Oct 2025 21:45:29 +0000 (14:45 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 9 Oct 2025 10:24:28 +0000 (03:24 -0700)
commitefd38d619a03b2aadf124a4ddeb4054a447e2c8c
treeeeda34f5367018ece0d3ca3ec613c3f4224dced2
parent673167d9f08378b7c619e332fe9eea230425d330
drm/xe/vf: Use primary GT ordered work queue on media GT on PTL VF

VF CCS restore is a primary GT operation on which the media GT depends.
Therefore, it doesn't make much sense to run these operations in
parallel. To address this, point the media GT's ordered work queue to
the primary GT's ordered work queue on platforms that require (PTL VFs)
CCS restore as part of VF post-migration recovery.

v7:
 - Remove bool from xe_gt_alloc (Lucas)
v9:
 - Fix typo (Lucas)

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20251008214532.3442967-32-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_device_types.h
drivers/gpu/drm/xe/xe_gt.c
drivers/gpu/drm/xe/xe_pci.c
drivers/gpu/drm/xe/xe_pci_types.h