Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
To: Francois Dugast <francois.dugast@intel.com>
Cc: intel-xe@lists.freedesktop.org, Matthew Brost <matthew.brost@intel.com>
Subject: Re: [PATCH] drm/xe/migrate: Fix an error path
Date: Wed, 08 Oct 2025 14:13:03 +0200	[thread overview]
Message-ID: <c58cf7c7ec15b384bf1213e7202054bbd6da37c5.camel@linux.intel.com> (raw)
In-Reply-To: <aOZRMGpSUeC-IbUn@fdugast-desk>

On Wed, 2025-10-08 at 13:55 +0200, Francois Dugast wrote:
> On Wed, Sep 10, 2025 at 06:09:39PM +0200, Thomas Hellström wrote:
> > 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>
> 
> Reviewed-by: Francois Dugast <francois.dugast@intel.com>

Thanks, Francois!
/Thomas


> 
> > ---
> >  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
> > 


      reply	other threads:[~2025-10-08 12:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c58cf7c7ec15b384bf1213e7202054bbd6da37c5.camel@linux.intel.com \
    --to=thomas.hellstrom@linux.intel.com \
    --cc=francois.dugast@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=matthew.brost@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox