summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/xe/xe_module.h
blob: 161a5e6f717fbcdde82536286defe75d3b65b226 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2023 Intel Corporation
 */

#ifndef _XE_MODULE_H_
#define _XE_MODULE_H_

#include <linux/types.h>

/* Module modprobe variables */
struct xe_modparam {
	bool force_execlist;
	bool probe_display;
	u32 force_vram_bar_size;
	int guc_log_level;
	char *guc_firmware_path;
	char *huc_firmware_path;
	char *gsc_firmware_path;
	char *force_probe;
#ifdef CONFIG_PCI_IOV
	unsigned int max_vfs;
#endif
	int wedged_mode;
};

extern struct xe_modparam xe_modparam;

#endif