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@xxxxxxxxx> > Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay@xxxxxxxxx> Reviewed-by: Matt Roper <matthew.d.roper@xxxxxxxxx> > --- > 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