drm/i915/adl_s: Wa_14011765242 is also needed on A1 display stepping
[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_A1,
26         STEP_A2,
27         STEP_B0,
28         STEP_B1,
29         STEP_C0,
30         STEP_D0,
31         STEP_D1,
32         STEP_E0,
33         STEP_F0,
34         STEP_G0,
35         STEP_H0,
36         STEP_I0,
37         STEP_I1,
38         STEP_J0,
39         STEP_FUTURE,
40         STEP_FOREVER,
41 };
42
43 void intel_step_init(struct drm_i915_private *i915);
44
45 #endif /* __INTEL_STEP_H__ */