1 /* SPDX-License-Identifier: MIT */
3 * Copyright © 2020,2021 Intel Corporation
6 #ifndef __INTEL_STEP_H__
7 #define __INTEL_STEP_H__
9 #include <linux/types.h>
11 struct drm_i915_private;
13 struct intel_step_info {
15 * It is expected to have 4 number steps per letter. Deviation from
16 * the expectation breaks gmd_to_intel_step().
18 u8 graphics_step; /* Represents the compute tile on Xe_HPC */
22 #define STEP_ENUM_VAL(name) STEP_##name,
24 #define STEP_NAME_LIST(func) \
67 * Symbolic steppings that do not match the hardware. These are valid both as gt
68 * and display steppings as symbolic names.
72 STEP_NAME_LIST(STEP_ENUM_VAL)
77 void intel_step_init(struct drm_i915_private *i915);
78 const char *intel_step_name(enum intel_step step);
80 #endif /* __INTEL_STEP_H__ */