Commit 4c47049d authored by Zhanjun Dong's avatar Zhanjun Dong Committed by Lucas De Marchi

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: bf8ec3c3 ("drm/xe: Initialize GuC earlier during probe")
Cc: Michał Winiarski <michal.winiarski@intel.com>
Signed-off-by: default avatarZhanjun Dong <zhanjun.dong@intel.com>
Reviewed-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240227164922.281346-2-zhanjun.dong@intel.comSigned-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
parent 1408784b
...@@ -315,8 +315,6 @@ int xe_gt_init_early(struct xe_gt *gt) ...@@ -315,8 +315,6 @@ int xe_gt_init_early(struct xe_gt *gt)
if (err) if (err)
return err; return err;
xe_gt_topology_init(gt);
err = xe_force_wake_put(gt_to_fw(gt), XE_FW_GT); err = xe_force_wake_put(gt_to_fw(gt), XE_FW_GT);
if (err) if (err)
return err; return err;
...@@ -503,6 +501,7 @@ int xe_gt_init_hwconfig(struct xe_gt *gt) ...@@ -503,6 +501,7 @@ int xe_gt_init_hwconfig(struct xe_gt *gt)
if (err) if (err)
goto out; goto out;
xe_gt_topology_init(gt);
xe_gt_mcr_init(gt); xe_gt_mcr_init(gt);
xe_pat_init(gt); xe_pat_init(gt);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment