mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
drm/xe: Stop ignoring errors from xe_ttm_sys_mgr_init()
xe_ttm_sys_mgr_init() already cleans up after itself, just return error if that failed. Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com> Reviewed-by: Tejas Upadhyay <tejas.upadhyay@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250222001051.3012936-12-lucas.demarchi@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
This commit is contained in:
parent
1671c9617d
commit
35359c3635
|
|
@ -748,6 +748,7 @@ int xe_device_probe(struct xe_device *xe)
|
|||
return err;
|
||||
|
||||
xe->info.mem_region_mask = 1;
|
||||
|
||||
err = xe_set_dma_info(xe);
|
||||
if (err)
|
||||
return err;
|
||||
|
|
@ -756,7 +757,9 @@ int xe_device_probe(struct xe_device *xe)
|
|||
if (err)
|
||||
return err;
|
||||
|
||||
xe_ttm_sys_mgr_init(xe);
|
||||
err = xe_ttm_sys_mgr_init(xe);
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
for_each_gt(gt, xe, id) {
|
||||
err = xe_gt_init_early(gt);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user