| 1 | /* SPDX-License-Identifier: MIT */ |
| 2 | /* |
| 3 | * Copyright © 2023 Intel Corporation |
| 4 | */ |
| 5 | |
| 6 | #ifndef _XE_MODULE_H_ |
| 7 | #define _XE_MODULE_H_ |
| 8 | |
| 9 | #include <linux/types.h> |
| 10 | |
| 11 | /* Module modprobe variables */ |
| 12 | struct xe_modparam { |
| 13 | bool force_execlist; |
| 14 | bool probe_display; |
| 15 | u32 force_vram_bar_size; |
| 16 | int guc_log_level; |
| 17 | char *guc_firmware_path; |
| 18 | char *huc_firmware_path; |
| 19 | char *gsc_firmware_path; |
| 20 | char *force_probe; |
| 21 | #ifdef CONFIG_PCI_IOV |
| 22 | unsigned int max_vfs; |
| 23 | #endif |
| 24 | int wedged_mode; |
| 25 | u32 svm_notifier_size; |
| 26 | }; |
| 27 | |
| 28 | extern struct xe_modparam xe_modparam; |
| 29 | |
| 30 | #endif |
| 31 | |
| 32 | |