]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/xe/sriov: Move VF bootstrap and query_config to vf_guc_init
authorMaarten Lankhorst <dev@lankhorst.se>
Thu, 19 Jun 2025 10:49:01 +0000 (12:49 +0200)
committerMaarten Lankhorst <dev@lankhorst.se>
Thu, 26 Jun 2025 20:07:44 +0000 (22:07 +0200)
commitb3412d72331a5f2289f1494c09f9b02a450748e3
treec8d4e2b62e2c09c205d501f254dee714f2ecd5b8
parente6018b194b45b1793d61e28e8793efa21c08bd54
drm/xe/sriov: Move VF bootstrap and query_config to vf_guc_init

We want to split up GUC init to an alloc and noalloc part to keep the
init path the same for VF and !VF as much as possible.

Everything in vf_guc_init should be done as early as possible, otherwise
VRAM probing becomes impossible.

Also move xe_gt_mmio_init to the end of xe_gt_init_early(), cleaning up
the init in xe_device slightly.

Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20250619104858.418440-15-dev@lankhorst.se
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
drivers/gpu/drm/xe/xe_device.c
drivers/gpu/drm/xe/xe_gt.c
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
drivers/gpu/drm/xe/xe_guc.c