mirror of
https://github.com/NVIDIA/nvidia-installer.git
synced 2025-07-23 02:13:00 +02:00
47 lines
1.5 KiB
C
47 lines
1.5 KiB
C
/*
|
|
* nvidia-installer: A tool for installing NVIDIA software packages on
|
|
* Unix and Linux systems.
|
|
*
|
|
* Copyright (C) 2015-2021 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[] = {
|
|
"nv_peer_mem",
|
|
"nvidia-peermem",
|
|
"nvidia-vgpu-vfio",
|
|
"nvidia-uvm",
|
|
"nvidia-drm",
|
|
"nvidia-modeset",
|
|
"nvidia",
|
|
"nvidia0", "nvidia1", "nvidia2", "nvidia3",
|
|
"nvidia4", "nvidia5", "nvidia6", "nvidia7",
|
|
"nvidia-frontend",
|
|
"nvidia-kutils",
|
|
#ifdef BULLSEYE_BUILD
|
|
"libcov-lkm",
|
|
#endif
|
|
};
|
|
|
|
const int num_conflicting_kernel_modules = ARRAY_LEN(conflicting_kernel_modules);
|