diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2024-05-13 14:37:51 -0700 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2024-05-13 21:21:13 -0700 |
commit | d1855d284e9f6580c0eaba66bfa04722f4d4dc9b (patch) | |
tree | bb7dbe024e4affcdcb38b079a2da7435c06e7296 /drivers/gpu/drm/xe/xe_gt.c | |
parent | 45b9066ec351518657cd09599872f737ceb25f09 (diff) | |
download | lwn-d1855d284e9f6580c0eaba66bfa04722f4d4dc9b.tar.gz lwn-d1855d284e9f6580c0eaba66bfa04722f4d4dc9b.zip |
drm/xe: Move sw-only pcode initialization
Move it to xe_gt_init_early() that initializes the sw-only part for each
gt.
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Michał Winiarski <michal.winiarski@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240513213751.1017791-5-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_gt.c')
-rw-r--r-- | drivers/gpu/drm/xe/xe_gt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/xe_gt.c b/drivers/gpu/drm/xe/xe_gt.c index e05899691a8c..11870ad2caf6 100644 --- a/drivers/gpu/drm/xe/xe_gt.c +++ b/drivers/gpu/drm/xe/xe_gt.c @@ -44,6 +44,7 @@ #include "xe_migrate.h" #include "xe_mmio.h" #include "xe_pat.h" +#include "xe_pcode.h" #include "xe_pm.h" #include "xe_mocs.h" #include "xe_reg_sr.h" @@ -329,6 +330,7 @@ int xe_gt_init_early(struct xe_gt *gt) xe_tuning_process_gt(gt); xe_force_wake_init_gt(gt, gt_to_fw(gt)); + xe_pcode_init(gt); return 0; } |