]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe: Simplify GuC early initialization
authorMaarten Lankhorst <dev@lankhorst.se>
Thu, 19 Jun 2025 10:49:02 +0000 (12:49 +0200)
committerMaarten Lankhorst <dev@lankhorst.se>
Thu, 26 Jun 2025 20:10:30 +0000 (22:10 +0200)
commit396044c9d84d6668d89a5b680688b0d5fcae3aa5
treeaad799d0beb7c172cd8e9118c4010a7df66f2581
parentb3412d72331a5f2289f1494c09f9b02a450748e3
drm/xe: Simplify GuC early initialization

Add a 2-stage GuC init. An early one for everything that is needed
for VF, and a full one that loads GuC and is allowed to do allocations.

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