1 /* SPDX-License-Identifier: MIT */ 2 /* 3 * Copyright © 2022 Intel Corporation 4 */ 5 6 #ifndef _XE_STEP_TYPES_H_ 7 #define _XE_STEP_TYPES_H_ 8 9 #include <linux/types.h> 10 11 struct xe_step_info { 12 u8 graphics; 13 u8 media; 14 u8 display; 15 u8 basedie; 16 }; 17 18 #define STEP_ENUM_VAL(name) STEP_##name, 19 20 #define STEP_NAME_LIST(func) \ 21 func(A0) \ 22 func(A1) \ 23 func(A2) \ 24 func(A3) \ 25 func(B0) \ 26 func(B1) \ 27 func(B2) \ 28 func(B3) \ 29 func(C0) \ 30 func(C1) \ 31 func(C2) \ 32 func(C3) \ 33 func(D0) \ 34 func(D1) \ 35 func(D2) \ 36 func(D3) \ 37 func(E0) 38 39 /* 40 * Symbolic steppings that do not match the hardware. These are valid both as gt 41 * and display steppings as symbolic names. 42 */ 43 enum xe_step { 44 STEP_NONE = 0, 45 STEP_NAME_LIST(STEP_ENUM_VAL) 46 STEP_FUTURE, 47 STEP_FOREVER, 48 }; 49 50 #endif 51