[PATCH] drm/xe/xe2: Add workaround 18034896535

Matt Roper matthew.d.roper at intel.com
Wed Apr 3 13:51:49 UTC 2024


On Tue, Apr 02, 2024 at 11:22:31PM -0700, Bommu, Krishnaiah wrote:
> 
> 
> > -----Original Message-----
> > From: Roper, Matthew D <matthew.d.roper at intel.com>
> > Sent: Wednesday, April 3, 2024 12:31 AM
> > To: Bommu, Krishnaiah <krishnaiah.bommu at intel.com>
> > Cc: intel-xe at lists.freedesktop.org; Upadhyay, Tejas
> > <tejas.upadhyay at intel.com>
> > Subject: Re: [PATCH] drm/xe/xe2: Add workaround 18034896535
> > 
> > On Tue, Apr 02, 2024 at 11:41:29AM +0530, Bommu Krishnaiah wrote:
> > > Add 18034896535 as driver permanent workarounds.
> > > Also reverting temporary workaround 16021540221.
> > 
> > Why are we reverting 16021540221?  It's still listed in the workaround database
> > and I don't think we're at the point where we want to remove preproduction-
> > only workarounds (in fact I don't think we even know yet exactly which
> > steppings are considered preproduction).
> > 
> > Even when multiple independent workarounds happen to have the same
> > implementation, we still implement them all in the driver.  The independent
> > workarounds may extend to future steppings and/or platforms in different ways
> > and need separate handling.
> > 
> 
> My understanding is 16021540221 is setting the workaround for A0, with current  workaround(18034896535) set for all, so keeping 16021540221 is redundant, so I removed it.
> 
> In order to keep workaround number(16021540221) should we need old code ? 

Those are two independent workarounds that just happen to have the same
implementation.  We want to keep both of them, at least until the point
where we decide we're ready to drop all of the workarounds that apply
only to pre-production steppings.


Matt

> 
> Regards,
> Krishna.
> 
> > workaround 
> > Matt
> > 
> > >
> > > Signed-off-by: Bommu Krishnaiah <krishnaiah.bommu at intel.com>
> > > Cc: Tejas Upadhyay <tejas.upadhyay at intel.com>
> > > Cc: Matt Roper <matthew.d.roper at intel.com>
> > > ---
> > >  drivers/gpu/drm/xe/xe_wa.c | 4 ++--
> > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/drivers/gpu/drm/xe/xe_wa.c b/drivers/gpu/drm/xe/xe_wa.c
> > > index 74b33a3845f2..4d8e0d64cf42 100644
> > > --- a/drivers/gpu/drm/xe/xe_wa.c
> > > +++ b/drivers/gpu/drm/xe/xe_wa.c
> > > @@ -423,8 +423,8 @@ static const struct xe_rtp_entry_sr engine_was[] = {
> > >  		       FUNC(xe_rtp_match_first_render_or_compute)),
> > >  	  XE_RTP_ACTIONS(SET(HALF_SLICE_CHICKEN5,
> > DISABLE_SAMPLE_G_PERFORMANCE))
> > >  	},
> > > -	{ XE_RTP_NAME("16021540221"),
> > > -	  XE_RTP_RULES(GRAPHICS_VERSION(2004), GRAPHICS_STEP(A0, B0),
> > > +	{ XE_RTP_NAME("18034896535"),
> > > +	  XE_RTP_RULES(GRAPHICS_VERSION(2004),
> > >  		       FUNC(xe_rtp_match_first_render_or_compute)),
> > >  	  XE_RTP_ACTIONS(SET(ROW_CHICKEN4, DISABLE_TDL_PUSH))
> > >  	},
> > > --
> > > 2.25.1
> > >
> > 
> > --
> > Matt Roper
> > Graphics Software Engineer
> > Linux GPU Platform Enablement
> > Intel Corporation

-- 
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation


More information about the Intel-xe mailing list