Commit 1117e7d1 authored by Thomas Hellström's avatar Thomas Hellström Committed by Lucas De Marchi
Browse files

drm/xe/migrate: Fix an error path



The exhaustive eviction accidently changed an error path goto to
a return. Fix this.

Fixes: 59eabff2 ("drm/xe: Convert xe_bo_create_pin_map() for exhaustive eviction")
Cc: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: default avatarThomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: default avatarFrancois Dugast <francois.dugast@intel.com>
Link: https://lore.kernel.org/r/20250910160939.103473-1-thomas.hellstrom@linux.intel.com


(cherry picked from commit 381f1ed1)
Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
parent d3020373
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -434,7 +434,7 @@ int xe_migrate_init(struct xe_migrate *m)

	err = xe_migrate_lock_prepare_vm(tile, m, vm);
	if (err)
		return err;
		goto err_out;

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