Commit 93b1b5f5 authored by Anusha Srivatsa's avatar Anusha Srivatsa Committed by Rodrigo Vivi

drm/xe/rpls: Add Stepping info for RPLS

Add stepping-substepping info. Though it looks
weird, the revision ID for the newer stepping
is indeed backwards and is in accordance to the spec.

v2: s/RPLS/RAPTORLAKE_S (Anusha)
v3: rebase (Anusha)
Signed-off-by: default avatarAnusha Srivatsa <anusha.srivatsa@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>(v1)
Reviewed-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20231005205450.3177354-5-anusha.srivatsa@intel.comSigned-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent fcb33ca6
...@@ -60,6 +60,11 @@ static const struct xe_step_info adls_revids[] = { ...@@ -60,6 +60,11 @@ static const struct xe_step_info adls_revids[] = {
[0xC] = { COMMON_GT_MEDIA_STEP(D0), .display = STEP_C0 }, [0xC] = { COMMON_GT_MEDIA_STEP(D0), .display = STEP_C0 },
}; };
static const struct xe_step_info adls_rpls_revids[] = {
[0x4] = { COMMON_GT_MEDIA_STEP(D0), .display = STEP_D0 },
[0xC] = { COMMON_GT_MEDIA_STEP(D0), .display = STEP_C0 },
};
static const struct xe_step_info adlp_revids[] = { static const struct xe_step_info adlp_revids[] = {
[0x0] = { COMMON_GT_MEDIA_STEP(A0), .display = STEP_A0 }, [0x0] = { COMMON_GT_MEDIA_STEP(A0), .display = STEP_A0 },
[0x4] = { COMMON_GT_MEDIA_STEP(B0), .display = STEP_B0 }, [0x4] = { COMMON_GT_MEDIA_STEP(B0), .display = STEP_B0 },
...@@ -143,6 +148,9 @@ struct xe_step_info xe_step_pre_gmdid_get(struct xe_device *xe) ...@@ -143,6 +148,9 @@ struct xe_step_info xe_step_pre_gmdid_get(struct xe_device *xe)
} else if (xe->info.platform == XE_ALDERLAKE_N) { } else if (xe->info.platform == XE_ALDERLAKE_N) {
revids = adln_revids; revids = adln_revids;
size = ARRAY_SIZE(adln_revids); size = ARRAY_SIZE(adln_revids);
} else if (xe->info.subplatform == XE_SUBPLATFORM_ALDERLAKE_S_RPLS) {
revids = adls_rpls_revids;
size = ARRAY_SIZE(adls_rpls_revids);
} else if (xe->info.subplatform == XE_SUBPLATFORM_ALDERLAKE_P_RPLU) { } else if (xe->info.subplatform == XE_SUBPLATFORM_ALDERLAKE_P_RPLU) {
revids = adlp_rpl_revids; revids = adlp_rpl_revids;
size = ARRAY_SIZE(adlp_rpl_revids); size = ARRAY_SIZE(adlp_rpl_revids);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment