diff options
author | Michał Winiarski <michal.winiarski@intel.com> | 2024-02-19 14:05:29 +0100 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2024-02-20 14:13:46 -0500 |
commit | 8a4587ef9f952105d1d5a7ffcdee848219cdc743 (patch) | |
tree | 93771b45480b73414a49e13468fed9cee1959e20 /drivers/gpu/drm/xe/xe_gt.c | |
parent | 7606f7d0f069c0fbb033b52e898c437c3aa13f32 (diff) |
drm/xe/guc: Move GuC power control init to "post-hwconfig"
SLPC is not used at "hwconfig" stage. Move the initialization of data
structures used for SLPC to a later point in probe.
Also - move the xe_guc_pc_init_early to happen just prior to initial
"hwconfig" load.
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240219130530.1406044-3-michal.winiarski@intel.com
Diffstat (limited to 'drivers/gpu/drm/xe/xe_gt.c')
-rw-r--r-- | drivers/gpu/drm/xe/xe_gt.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/xe/xe_gt.c b/drivers/gpu/drm/xe/xe_gt.c index c79edfd5a34f..fdfb70c7db9f 100644 --- a/drivers/gpu/drm/xe/xe_gt.c +++ b/drivers/gpu/drm/xe/xe_gt.c @@ -368,9 +368,6 @@ static int gt_fw_domain_init(struct xe_gt *gt) if (err) goto err_force_wake; - /* Raise GT freq to speed up HuC/GuC load */ - xe_guc_pc_init_early(>->uc.guc.pc); - err = xe_uc_init_hwconfig(>->uc); if (err) goto err_force_wake; |