af922ae3bb4e55dbadfb553cf202634a25b66eb8
[linux-2.6-microblaze.git] / drivers / gpu / drm / i915 / intel_step.h
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2020,2021 Intel Corporation
4  */
5
6 #ifndef __INTEL_STEP_H__
7 #define __INTEL_STEP_H__
8
9 #include <linux/types.h>
10
11 struct i915_rev_steppings {
12         u8 gt_stepping;
13         u8 disp_stepping;
14 };
15
16 #define TGL_UY_REVID_STEP_TBL_SIZE      4
17 #define TGL_REVID_STEP_TBL_SIZE         2
18 #define ADLS_REVID_STEP_TBL_SIZE        13
19
20 extern const struct i915_rev_steppings kbl_revids[];
21 extern const struct i915_rev_steppings tgl_uy_revid_step_tbl[TGL_UY_REVID_STEP_TBL_SIZE];
22 extern const struct i915_rev_steppings tgl_revid_step_tbl[TGL_REVID_STEP_TBL_SIZE];
23 extern const struct i915_rev_steppings adls_revid_step_tbl[ADLS_REVID_STEP_TBL_SIZE];
24
25 #endif /* __INTEL_STEP_H__ */