xref: /linux/drivers/gpu/drm/xe/xe_module.h (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
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 };
26 
27 extern struct xe_modparam xe_modparam;
28 
29 #endif
30 
31