File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -708,6 +708,12 @@ int xe_device_probe(struct xe_device *xe)
708
708
if (err )
709
709
goto err ;
710
710
711
+ for_each_tile (tile , xe , id ) {
712
+ err = xe_tile_init (tile );
713
+ if (err )
714
+ goto err ;
715
+ }
716
+
711
717
for_each_gt (gt , xe , id ) {
712
718
last_gt = id ;
713
719
Original file line number Diff line number Diff line change @@ -167,15 +167,19 @@ int xe_tile_init_noalloc(struct xe_tile *tile)
167
167
if (err )
168
168
return err ;
169
169
170
- tile -> mem .kernel_bb_pool = xe_sa_bo_manager_init (tile , SZ_1M , 16 );
171
- if (IS_ERR (tile -> mem .kernel_bb_pool ))
172
- return PTR_ERR (tile -> mem .kernel_bb_pool );
173
-
174
170
xe_wa_apply_tile_workarounds (tile );
175
171
176
172
return xe_tile_sysfs_init (tile );
177
173
}
178
174
175
+ int xe_tile_init (struct xe_tile * tile )
176
+ {
177
+ tile -> mem .kernel_bb_pool = xe_sa_bo_manager_init (tile , SZ_1M , 16 );
178
+ if (IS_ERR (tile -> mem .kernel_bb_pool ))
179
+ return PTR_ERR (tile -> mem .kernel_bb_pool );
180
+
181
+ return 0 ;
182
+ }
179
183
void xe_tile_migrate_wait (struct xe_tile * tile )
180
184
{
181
185
xe_migrate_wait (tile -> migrate );
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ struct xe_tile;
12
12
13
13
int xe_tile_init_early (struct xe_tile * tile , struct xe_device * xe , u8 id );
14
14
int xe_tile_init_noalloc (struct xe_tile * tile );
15
+ int xe_tile_init (struct xe_tile * tile );
15
16
16
17
void xe_tile_migrate_wait (struct xe_tile * tile );
17
18
You can’t perform that action at this time.
0 commit comments