drm/xe: Introduce xe_tile_init_early and use at earlier point in probe

It also merges the GT (which is part of tile) initialization happening
at xe_info_init with allocating other per-tile data structures into a
common helper function.

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>
This commit is contained in:
Michał Winiarski
2023-12-05 02:32:57 +01:00
committed by Rodrigo Vivi
parent 4f5ee007f6
commit 7e4ce4518b
4 changed files with 37 additions and 13 deletions

View File

@@ -10,7 +10,7 @@
struct xe_tile;
int xe_tile_alloc(struct xe_tile *tile);
int xe_tile_init_early(struct xe_tile *tile, struct xe_device *xe, u8 id);
int xe_tile_init_noalloc(struct xe_tile *tile);
void xe_tile_migrate_wait(struct xe_tile *tile);