drm/xe: Introduce xe_tile_init_early and use at earlier point in probe
authorMichał Winiarski <michal.winiarski@intel.com>
Tue, 5 Dec 2023 01:32:57 +0000 (02:32 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:45:10 +0000 (11:45 -0500)
commit7e4ce4518b906a960122f29e8f3426ca95ebee0a
treee1f676a043743f9f4a3e6d7679eb038207fad576
parent4f5ee007f62a1825cec8140b14b28ef532f570f8
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>
drivers/gpu/drm/xe/xe_device.c
drivers/gpu/drm/xe/xe_pci.c
drivers/gpu/drm/xe/xe_tile.c
drivers/gpu/drm/xe/xe_tile.h