xref: /openbmc/linux/drivers/gpu/drm/i915/intel_step.h (revision 249592bf)
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_FUTURE,
35 	STEP_FOREVER,
36 };
37 
38 void intel_step_init(struct drm_i915_private *i915);
39 
40 #endif /* __INTEL_STEP_H__ */
41