diff options
author | Michał Winiarski <michal.winiarski@intel.com> | 2023-12-05 04:32:57 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-21 19:45:10 +0300 |
commit | 7e4ce4518b906a960122f29e8f3426ca95ebee0a (patch) | |
tree | e1f676a043743f9f4a3e6d7679eb038207fad576 /drivers/gpu/drm/xe/xe_tile.h | |
parent | 4f5ee007f62a1825cec8140b14b28ef532f570f8 (diff) | |
download | linux-7e4ce4518b906a960122f29e8f3426ca95ebee0a.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_tile.h')
-rw-r--r-- | drivers/gpu/drm/xe/xe_tile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_tile.h b/drivers/gpu/drm/xe/xe_tile.h index 782c47f8bd45..1c9e42ade6b0 100644 --- a/drivers/gpu/drm/xe/xe_tile.h +++ b/drivers/gpu/drm/xe/xe_tile.h @@ -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); |