drm/xe/vf: Boostrap all GTs immediately after MMIO init
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Tue, 3 Jun 2025 23:54:35 +0000 (16:54 -0700)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Fri, 6 Jun 2025 15:33:18 +0000 (08:33 -0700)
commit90f4d3f7562a3ce5a5706a4753a0b7b292dc7ec3
tree470e870f9984b317221ca8774188e1211f46001b
parent10a2bc580796c0b3162e9be1445c03c3ce49a2d1
drm/xe/vf: Boostrap all GTs immediately after MMIO init

Currently we perform the bootstrap for the primary GT early on during
device init, while the media GT bootstrap happens when we try and fetch
the hwconfig table. For consistency, move the bootstrap of the media GT
happen at the same time as the primary GT, so that all the subsequent
code can rely on both GTs being in the same state.

v2: Also drop config query from min_guc_load since we now do it
    early (Michal)

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://lore.kernel.org/r/20250603235432.720833-8-daniele.ceraolospurio@intel.com
drivers/gpu/drm/xe/xe_device.c
drivers/gpu/drm/xe/xe_guc.c