summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-05-26 06:13:25 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-05-26 06:13:25 +0000
commit83efe76581f688fd5a65087aa3c9d221b2de7552 (patch)
tree4ad441156476b838af897f2d95d0bc47282d7877 /sys/dev
parent59fcca71819a0bc42788d61a9b630b03ed1b9237 (diff)
drm/i915/rpl-s: Add stepping info
From Anusha Srivatsa 8295524a2d5550b56e800ac779a183b7f4d8c33c in mainline linux
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/i915/intel_step.c8
1 files changed, 8 insertions, 0 deletions
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);