From: jsg Date: Thu, 26 May 2022 06:13:24 +0000 (+0000) Subject: drm/i915/rpl-s: Add stepping info X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9345d605cb0cfed34202b01852e50bda3c440d65;p=openbsd drm/i915/rpl-s: Add stepping info From Anusha Srivatsa 8295524a2d5550b56e800ac779a183b7f4d8c33c in mainline linux --- diff --git a/sys/dev/pci/drm/i915/intel_step.c b/sys/dev/pci/drm/i915/intel_step.c index 6cf96763139..948cf39f02c 100644 --- a/sys/dev/pci/drm/i915/intel_step.c +++ b/sys/dev/pci/drm/i915/intel_step.c @@ -121,6 +121,11 @@ static const struct intel_step_info dg2_g11_revid_step_tbl[] = { [0x5] = { .gt_step = STEP_B1, .display_step = STEP_C0 }, }; +static const struct intel_step_info adls_rpls_revids[] = { + [0x4] = { .gt_step = STEP_D0, .display_step = STEP_D0 }, + [0xC] = { .gt_step = STEP_D0, .display_step = STEP_C0 }, +}; + void intel_step_init(struct drm_i915_private *i915) { const struct intel_step_info *revids = NULL; @@ -140,6 +145,9 @@ void intel_step_init(struct drm_i915_private *i915) } else if (IS_ALDERLAKE_P(i915)) { revids = adlp_revids; size = ARRAY_SIZE(adlp_revids); + } else if (IS_ADLS_RPLS(i915)) { + revids = adls_rpls_revids; + size = ARRAY_SIZE(adls_rpls_revids); } else if (IS_ALDERLAKE_S(i915)) { revids = adls_revids; size = ARRAY_SIZE(adls_revids);