88a77159703e57a3d611ce3efc6b1df1432aecc1
[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 drm_i915_private;
12
13 struct intel_step_info {
14         u8 gt_step;
15         u8 display_step;
16 };
17
18 /*
19  * Symbolic steppings that do not match the hardware. These are valid both as gt
20  * and display steppings as symbolic names.
21  */
22 enum intel_step {
23         STEP_NONE = 0,
24         STEP_A0,
25         STEP_A2,
26         STEP_B0,
27         STEP_B1,
28         STEP_C0,
29         STEP_D0,
30         STEP_D1,
31         STEP_E0,
32         STEP_F0,
33         STEP_G0,
34         STEP_H0,
35         STEP_I0,
36         STEP_I1,
37         STEP_J0,
38         STEP_FUTURE,
39         STEP_FOREVER,
40 };
41
42 void intel_step_init(struct drm_i915_private *i915);
43
44 #endif /* __INTEL_STEP_H__ */