File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -342,7 +342,7 @@ static void init_steering_oaddrm(struct xe_gt *gt)
342
342
else
343
343
gt -> steering [OADDRM ].group_target = 1 ;
344
344
345
- gt -> steering [DSS ].instance_target = 0 ; /* unused */
345
+ gt -> steering [OADDRM ].instance_target = 0 ; /* unused */
346
346
}
347
347
348
348
static void init_steering_sqidi_psmi (struct xe_gt * gt )
@@ -357,8 +357,8 @@ static void init_steering_sqidi_psmi(struct xe_gt *gt)
357
357
358
358
static void init_steering_inst0 (struct xe_gt * gt )
359
359
{
360
- gt -> steering [DSS ].group_target = 0 ; /* unused */
361
- gt -> steering [DSS ].instance_target = 0 ; /* unused */
360
+ gt -> steering [INSTANCE0 ].group_target = 0 ; /* unused */
361
+ gt -> steering [INSTANCE0 ].instance_target = 0 ; /* unused */
362
362
}
363
363
364
364
static const struct {
Original file line number Diff line number Diff line change @@ -1334,7 +1334,7 @@ xe_migrate_update_pgtables(struct xe_migrate *m,
1334
1334
GFP_KERNEL , true, 0 );
1335
1335
if (IS_ERR (sa_bo )) {
1336
1336
err = PTR_ERR (sa_bo );
1337
- goto err ;
1337
+ goto err_bb ;
1338
1338
}
1339
1339
1340
1340
ppgtt_ofs = NUM_KERNEL_PDE +
@@ -1385,7 +1385,7 @@ xe_migrate_update_pgtables(struct xe_migrate *m,
1385
1385
update_idx );
1386
1386
if (IS_ERR (job )) {
1387
1387
err = PTR_ERR (job );
1388
- goto err_bb ;
1388
+ goto err_sa ;
1389
1389
}
1390
1390
1391
1391
/* Wait on BO move */
@@ -1434,12 +1434,12 @@ xe_migrate_update_pgtables(struct xe_migrate *m,
1434
1434
1435
1435
err_job :
1436
1436
xe_sched_job_put (job );
1437
+ err_sa :
1438
+ drm_suballoc_free (sa_bo , NULL );
1437
1439
err_bb :
1438
1440
if (!q )
1439
1441
mutex_unlock (& m -> job_mutex );
1440
1442
xe_bb_free (bb , NULL );
1441
- err :
1442
- drm_suballoc_free (sa_bo , NULL );
1443
1443
return ERR_PTR (err );
1444
1444
}
1445
1445
You can’t perform that action at this time.
0 commit comments