Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at master 25 lines 544 B view raw
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 13struct xe_device; 14 15void xe_step_platform_get(struct xe_device *xe); 16 17void xe_step_pre_gmdid_get(struct xe_device *xe); 18void xe_step_gmdid_get(struct xe_device *xe, 19 u32 graphics_gmdid_revid, 20 u32 media_gmdid_revid); 21static inline u32 xe_step_to_gmdid(enum xe_step step) { return step - STEP_A0; } 22 23const char *xe_step_name(enum xe_step step); 24 25#endif