Commit 1ccd68e9 authored by Michał Winiarski's avatar Michał Winiarski Committed by Rodrigo Vivi

drm/xe: Move system memory management init to earlier point in probe

GuC will need to be loaded earlier during probe. And in order to load
GuC, we will need the ability to create system memory allocations.
Signed-off-by: default avatarMichał Winiarski <michal.winiarski@intel.com>
Reviewed-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent 51fb5ef2
......@@ -413,6 +413,8 @@ int xe_device_probe(struct xe_device *xe)
xe_mmio_probe_tiles(xe);
xe_ttm_sys_mgr_init(xe);
err = drmm_add_action_or_reset(&xe->drm, xe_driver_flr_fini, xe);
if (err)
return err;
......@@ -441,8 +443,6 @@ int xe_device_probe(struct xe_device *xe)
if (err)
goto err_irq_shutdown;
xe_ttm_sys_mgr_init(xe);
for_each_tile(tile, xe, id) {
err = xe_tile_init_noalloc(tile);
if (err)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment