[Intel-gfx] [PATCH] drm/i915/adl-n: Add stepping info

Surendrakumar Upadhyay, TejaskumarX tejaskumarx.surendrakumar.upadhyay at intel.com
Fri Mar 4 04:40:18 UTC 2022


Please help to merge.

Thanks,
Tejas

> -----Original Message-----
> From: Roper, Matthew D <matthew.d.roper at intel.com>
> Sent: 04 March 2022 10:09
> To: Surendrakumar Upadhyay, TejaskumarX
> <tejaskumarx.surendrakumar.upadhyay at intel.com>
> Cc: intel-gfx at lists.freedesktop.org
> Subject: Re: [PATCH] drm/i915/adl-n: Add stepping info
> 
> On Thu, Mar 03, 2022 at 05:02:52PM +0530, Tejas Upadhyay wrote:
> > Add ADL-N stepping-substepping info in accordance to BSpec.
> >
> > Bspec: 68397
> >
> > Cc: Matt Roper <matthew.d.roper at intel.com>
> > Signed-off-by: Tejas Upadhyay
> > <tejaskumarx.surendrakumar.upadhyay at intel.com>
> 
> Reviewed-by: Matt Roper <matthew.d.roper at intel.com>
> 
> > ---
> >  drivers/gpu/drm/i915/intel_step.c | 7 +++++++
> >  1 file changed, 7 insertions(+)
> >
> > diff --git a/drivers/gpu/drm/i915/intel_step.c
> > b/drivers/gpu/drm/i915/intel_step.c
> > index 4fd69ecd1481..74e8e4680028 100644
> > --- a/drivers/gpu/drm/i915/intel_step.c
> > +++ b/drivers/gpu/drm/i915/intel_step.c
> > @@ -131,6 +131,10 @@ static const struct intel_step_info
> adls_rpls_revids[] = {
> >  	[0xC] = { COMMON_GT_MEDIA_STEP(D0), .display_step = STEP_C0 },
> };
> >
> > +static const struct intel_step_info adlp_n_revids[] = {
> > +	[0x0] = { COMMON_GT_MEDIA_STEP(A0), .display_step = STEP_D0 },
> };
> > +
> >  void intel_step_init(struct drm_i915_private *i915)  {
> >  	const struct intel_step_info *revids = NULL; @@ -150,6 +154,9 @@
> > void intel_step_init(struct drm_i915_private *i915)
> >  	} else if (IS_XEHPSDV(i915)) {
> >  		revids = xehpsdv_revids;
> >  		size = ARRAY_SIZE(xehpsdv_revids);
> > +	} else if (IS_ADLP_N(i915)) {
> > +		revids = adlp_n_revids;
> > +		size = ARRAY_SIZE(adlp_n_revids);
> >  	} else if (IS_ALDERLAKE_P(i915)) {
> >  		revids = adlp_revids;
> >  		size = ARRAY_SIZE(adlp_revids);
> > --
> > 2.34.1
> >
> 
> --
> Matt Roper
> Graphics Software Engineer
> VTT-OSGC Platform Enablement
> Intel Corporation
> (916) 356-2795


More information about the Intel-gfx mailing list