1 /* SPDX-License-Identifier: MIT */ 2 /* 3 * Copyright © 2022 Intel Corporation 4 */ 5 6 #ifndef _XE_STEP_H_ 7 #define _XE_STEP_H_ 8 9 #include <linux/types.h> 10 11 #include "xe_step_types.h" 12 13 struct xe_device; 14 15 void xe_step_platform_get(struct xe_device *xe); 16 17 void xe_step_pre_gmdid_get(struct xe_device *xe); 18 void xe_step_gmdid_get(struct xe_device *xe, 19 u32 graphics_gmdid_revid, 20 u32 media_gmdid_revid); 21 static inline u32 xe_step_to_gmdid(enum xe_step step) { return step - STEP_A0; } 22 23 const char *xe_step_name(enum xe_step step); 24 25 #endif 26