From 2795778168f029d8642f93bd601ba83be85f274b Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 26 May 2022 06:20:59 +0000 Subject: [PATCH] drm/i915/adl-n: Add stepping info From Tejas Upadhyay 8d80cceecdd98de6d2281d39d6571a1fe08e5af9 in mainline linux --- sys/dev/pci/drm/i915/intel_step.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/dev/pci/drm/i915/intel_step.c b/sys/dev/pci/drm/i915/intel_step.c index 948cf39f02c..d3ea4045a72 100644 --- a/sys/dev/pci/drm/i915/intel_step.c +++ b/sys/dev/pci/drm/i915/intel_step.c @@ -126,6 +126,10 @@ static const struct intel_step_info adls_rpls_revids[] = { [0xC] = { .gt_step = STEP_D0, .display_step = STEP_C0 }, }; +static const struct intel_step_info adlp_n_revids[] = { + [0x0] = { .gt_step = STEP_A0, .display_step = STEP_D0 }, +}; + void intel_step_init(struct drm_i915_private *i915) { const struct intel_step_info *revids = NULL; @@ -142,6 +146,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.20.1