xref: /linux/drivers/gpu/drm/i915/intel_step.h (revision 40286d6379aacfcc053253ef78dc78b09addffda)
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 #include <drm/intel/step.h>
12 
13 struct drm_i915_private;
14 
15 struct intel_step_info {
16 	/*
17 	 * It is expected to have 4 number steps per letter. Deviation from
18 	 * the expectation breaks gmd_to_intel_step().
19 	 */
20 	u8 graphics_step;	/* Represents the compute tile on Xe_HPC */
21 	u8 media_step;
22 };
23 
24 void intel_step_init(struct drm_i915_private *i915);
25 const char *intel_step_name(enum intel_step step);
26 
27 #endif /* __INTEL_STEP_H__ */
28