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