Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe/migrate: Fix an error path
@ 2025-09-10 16:09 Thomas Hellström
  2025-09-10 16:19 ` ✓ CI.KUnit: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Thomas Hellström @ 2025-09-10 16:09 UTC (permalink / raw)
  To: intel-xe; +Cc: Thomas Hellström, Matthew Brost

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

Fixes: 59eabff2a352 ("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>
---
 drivers/gpu/drm/xe/xe_migrate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c
index 6fad5d469629..1ffff251d763 100644
--- a/drivers/gpu/drm/xe/xe_migrate.c
+++ b/drivers/gpu/drm/xe/xe_migrate.c
@@ -425,7 +425,7 @@ int xe_migrate_init(struct xe_migrate *m)
 		xe_validation_retry_on_oom(&ctx, &err);
 	}
 	if (err)
-		return err;
+		goto err_out;
 
 	if (xe->info.has_usm) {
 		struct xe_hw_engine *hwe = xe_gt_hw_engine(primary_gt,
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-10-08 12:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-10 16:09 [PATCH] drm/xe/migrate: Fix an error path Thomas Hellström
2025-09-10 16:19 ` ✓ CI.KUnit: success for " Patchwork
2025-09-10 17:01 ` ✓ Xe.CI.BAT: " Patchwork
2025-09-10 23:43 ` ✗ Xe.CI.Full: failure " Patchwork
2025-10-08 11:55 ` [PATCH] " Francois Dugast
2025-10-08 12:13   ` Thomas Hellström

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox