summaryrefslogtreecommitdiff
path: root/conflicting-kernel-modules.c
blob: 4d9e890617388f560a43c8b2989053a8a0ea5b1d (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
31
32
33
34
35
36
37
38
39
/*
 * nvidia-installer: A tool for installing NVIDIA software packages on
 * Unix and Linux systems.
 *
 * Copyright (C) 2015 NVIDIA Corporation
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms and conditions of the GNU General Public License,
 * version 2, as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, see <http://www.gnu.org/licenses>.
 */

#include "common-utils.h"

/*
 * A list of kernel modules that will conflict with this driver installation.
 * The list should be maintained in reverse dependency order; i.e., it should
 * be possible to unload kernel modules one at a time, in the order that they
 * appear in this list.
 */

const char * const conflicting_kernel_modules[] = {
    "nvidia-uvm",
    "nvidia-drm",
    "nvidia-modeset",
    "nvidia",
    "nvidia0", "nvidia1", "nvidia2", "nvidia3",
    "nvidia4", "nvidia5", "nvidia6", "nvidia7",
    "nvidia-frontend",
};

const int num_conflicting_kernel_modules = ARRAY_LEN(conflicting_kernel_modules);