1 /* SPDX-License-Identifier: MIT */
3 * Copyright © 2020,2021 Intel Corporation
6 #ifndef __INTEL_STEP_H__
7 #define __INTEL_STEP_H__
9 #include <linux/types.h>
11 struct drm_i915_private;
13 struct i915_rev_steppings {
18 #define TGL_UY_REVID_STEP_TBL_SIZE 4
19 #define TGL_REVID_STEP_TBL_SIZE 2
20 #define ADLS_REVID_STEP_TBL_SIZE 13
22 extern const struct i915_rev_steppings tgl_uy_revid_step_tbl[TGL_UY_REVID_STEP_TBL_SIZE];
23 extern const struct i915_rev_steppings tgl_revid_step_tbl[TGL_REVID_STEP_TBL_SIZE];
24 extern const struct i915_rev_steppings adls_revid_step_tbl[ADLS_REVID_STEP_TBL_SIZE];
27 * Symbolic steppings that do not match the hardware. These are valid both as gt
28 * and display steppings as symbolic names.
46 void intel_step_init(struct drm_i915_private *i915);
48 #endif /* __INTEL_STEP_H__ */