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 struct work_struct; 12 13 /* Module modprobe variables */ 14 struct xe_modparam { 15 bool force_execlist; 16 bool probe_display; 17 int force_vram_bar_size; 18 int guc_log_level; 19 char *guc_firmware_path; 20 char *huc_firmware_path; 21 char *gsc_firmware_path; 22 char *force_probe; 23 #ifdef CONFIG_PCI_IOV 24 unsigned int max_vfs; 25 #endif 26 unsigned int wedged_mode; 27 u32 svm_notifier_size; 28 }; 29 30 extern struct xe_modparam xe_modparam; 31 32 bool xe_destroy_wq_queue(struct work_struct *work); 33 void xe_destroy_wq_flush(void); 34 35 #endif 36 37