Skip to content

Commit 1117e7d

Browse files
Thomas HellströmLucas De Marchi
authored andcommitted
drm/xe/migrate: Fix an error path
The exhaustive eviction accidently changed an error path goto to a return. Fix this. Fixes: 59eabff ("drm/xe: Convert xe_bo_create_pin_map() for exhaustive eviction") Cc: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Reviewed-by: Francois Dugast <francois.dugast@intel.com> Link: https://lore.kernel.org/r/20250910160939.103473-1-thomas.hellstrom@linux.intel.com (cherry picked from commit 381f1ed15159c4b3f00dd37cc70924dedebeb111) Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
1 parent d302037 commit 1117e7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/xe/xe_migrate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ int xe_migrate_init(struct xe_migrate *m)
434434

435435
err = xe_migrate_lock_prepare_vm(tile, m, vm);
436436
if (err)
437-
return err;
437+
goto err_out;
438438

439439
if (xe->info.has_usm) {
440440
struct xe_hw_engine *hwe = xe_gt_hw_engine(primary_gt,

0 commit comments

Comments
 (0)