2021-03-26 21:21:32 +08:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
/*
|
|
|
|
* Copyright © 2020,2021 Intel Corporation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __INTEL_STEP_H__
|
|
|
|
#define __INTEL_STEP_H__
|
|
|
|
|
|
|
|
#include <linux/types.h>
|
|
|
|
|
2021-03-26 21:21:34 +08:00
|
|
|
struct drm_i915_private;
|
|
|
|
|
2021-03-26 21:21:38 +08:00
|
|
|
struct intel_step_info {
|
2021-03-26 21:21:37 +08:00
|
|
|
u8 gt_step;
|
|
|
|
u8 display_step;
|
2021-03-26 21:21:32 +08:00
|
|
|
};
|
|
|
|
|
2021-03-26 21:21:33 +08:00
|
|
|
/*
|
|
|
|
* Symbolic steppings that do not match the hardware. These are valid both as gt
|
|
|
|
* and display steppings as symbolic names.
|
|
|
|
*/
|
|
|
|
enum intel_step {
|
|
|
|
STEP_NONE = 0,
|
|
|
|
STEP_A0,
|
|
|
|
STEP_A2,
|
|
|
|
STEP_B0,
|
|
|
|
STEP_B1,
|
|
|
|
STEP_C0,
|
|
|
|
STEP_D0,
|
2021-03-26 21:21:34 +08:00
|
|
|
STEP_D1,
|
|
|
|
STEP_E0,
|
|
|
|
STEP_F0,
|
|
|
|
STEP_G0,
|
|
|
|
STEP_FUTURE,
|
|
|
|
STEP_FOREVER,
|
2021-03-26 21:21:33 +08:00
|
|
|
};
|
|
|
|
|
2021-03-26 21:21:34 +08:00
|
|
|
void intel_step_init(struct drm_i915_private *i915);
|
|
|
|
|
2021-03-26 21:21:32 +08:00
|
|
|
#endif /* __INTEL_STEP_H__ */
|