Hello!
Linux kernel version 5.18 is in its 2nd release candidate and it breaks Nvidia driver.
The following files need to be patched:
linux_nvswitch.c
nv-acpi.c
nv.c
nvidia-drm-drv.c
nvidia-drm-gem.c
And after the patch work is done the compile work fails due to GPL-incompatible modules:
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol ‘acpi_fetch_acpi_dev’
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d017a3167bcb76caedf2b444645bf4db75f775a5
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol ‘cc_mkdec’
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=b577f542f93cbba57f8d6185ef1fb13a41ddf162
Who should fix this “GPL-only symbol” problem?
make.log (1.0 MB)