Skip to content

Commit 9eeeed8

Browse files
zhanjunlucasdemarchi
authored andcommitted
drm/xe/guc: Fix missing topology init
init_steering_dss need topology dss mask to be init ahead. Fixed by moving xe_gt_topology_init ahead of xe_gt_mcr_init Fixes: bf8ec3c ("drm/xe: Initialize GuC earlier during probe") Cc: Michał Winiarski <michal.winiarski@intel.com> Signed-off-by: Zhanjun Dong <zhanjun.dong@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240227164922.281346-2-zhanjun.dong@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> (cherry picked from commit 4c47049) Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
1 parent 45cfade commit 9eeeed8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/gpu/drm/xe/xe_gt.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,6 @@ int xe_gt_init_early(struct xe_gt *gt)
314314
if (err)
315315
return err;
316316

317-
xe_gt_topology_init(gt);
318-
319317
err = xe_force_wake_put(gt_to_fw(gt), XE_FW_GT);
320318
if (err)
321319
return err;
@@ -502,6 +500,7 @@ int xe_gt_init_hwconfig(struct xe_gt *gt)
502500
if (err)
503501
goto out;
504502

503+
xe_gt_topology_init(gt);
505504
xe_gt_mcr_init(gt);
506505
xe_pat_init(gt);
507506

0 commit comments

Comments
 (0)